diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-05 19:48:23 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-05 19:48:23 +0000 |
commit | 790fbfdf6577fa54c8375712b301d020b6c46dc6 (patch) | |
tree | 0ce3f2c3a77b9e512f48541a7cdfa612e2ce3568 | |
parent | ffb4f002fd71c5a14b645580d31c2116dabca5db (diff) |
More fallout from the fd_getfile changes.
-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)]; |