From f6155594e7faff04eed27b51dd9ea915e5206f0e Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Fri, 26 Oct 2001 14:31:32 +0000 Subject: Unbreak. --- sys/compat/linux/linux_fdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/compat') 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); -- cgit v1.2.3