diff options
-rw-r--r-- | sys/compat/hpux/hpux_file.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/hpux/hpux_file.c b/sys/compat/hpux/hpux_file.c index 05097caa7f7..1e49b348d10 100644 --- a/sys/compat/hpux/hpux_file.c +++ b/sys/compat/hpux/hpux_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hpux_file.c,v 1.8 2001/10/26 12:03:27 art Exp $ */ +/* $OpenBSD: hpux_file.c,v 1.9 2001/11/05 19:48:22 art Exp $ */ /* $NetBSD: hpux_file.c,v 1.5 1997/04/27 21:40:48 thorpej Exp $ */ /* @@ -218,8 +218,9 @@ hpux_sys_fcntl(p, v, retval) struct flock fl; struct vnode *vp; struct sys_fcntl_args fa; + struct filedesc *fdp; - if ((fp = fd_getfile(fdp, SCARG(uap, fd)) == NULL) + if ((fp = fd_getfile(fdp, SCARG(uap, fd))) == NULL) return (EBADF); pop = &p->p_fd->fd_ofileflags[SCARG(uap, fd)]; |