summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-10-26 14:31:32 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-10-26 14:31:32 +0000
commitf6155594e7faff04eed27b51dd9ea915e5206f0e (patch)
treeb5d05c430a109605ed3d12dcb458ffa6720c4b31 /sys/compat
parent5d1c0f959d0a9887a56bf667bf9de5d36d21be18 (diff)
Unbreak.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_fdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_fdio.c b/sys/compat/linux/linux_fdio.c
index d394d17399a..6b3b6560e21 100644
--- a/sys/compat/linux/linux_fdio.c
+++ b/sys/compat/linux/linux_fdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_fdio.c,v 1.2 2001/10/26 12:03:27 art Exp $ */
+/* $OpenBSD: linux_fdio.c,v 1.3 2001/10/26 14:31:31 art Exp $ */
/* $NetBSD: linux_fdio.c,v 1.1 2000/12/10 14:12:16 fvdl Exp $ */
/*
@@ -75,7 +75,7 @@ linux_ioctl_fdio(struct proc *p, struct linux_sys_ioctl_args *uap,
com = (u_long)SCARG(uap, data);
fdp = p->p_fd;
- if ((fp = fd_getfile(fdp, SCARG(uap, fd)) == NULL)
+ if ((fp = fd_getfile(fdp, SCARG(uap, fd))) == NULL)
return (EBADF);
com = SCARG(uap, com);