diff options
author | 2002-02-16 15:45:04 +0000 | |
---|---|---|
committer | 2002-02-16 15:45:04 +0000 | |
commit | 5228ab8a8de7d901e6b670fef7998f3ca8d2b6c6 (patch) | |
tree | 59a102d241d77ede8bcafafb4ceb57518beca8cb | |
parent | -t required now for key generation (diff) | |
download | wireguard-openbsd-5228ab8a8de7d901e6b670fef7998f3ca8d2b6c6.tar.xz wireguard-openbsd-5228ab8a8de7d901e6b670fef7998f3ca8d2b6c6.zip |
Make this compile.
-rw-r--r-- | sys/compat/hpux/hpux_file.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/compat/hpux/hpux_file.c b/sys/compat/hpux/hpux_file.c index aa544da76fd..7b2c4665775 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.10 2002/02/14 22:57:18 pvalchev Exp $ */ +/* $OpenBSD: hpux_file.c,v 1.11 2002/02/16 15:45:04 miod Exp $ */ /* $NetBSD: hpux_file.c,v 1.5 1997/04/27 21:40:48 thorpej Exp $ */ /* @@ -260,7 +260,7 @@ hpux_sys_fcntl(p, v, retval) case HPUXF_SETLK: if (fp->f_type != DTYPE_VNODE) { error = EBADF; - goto aout; + goto out; } vp = (struct vnode *)fp->f_data; @@ -269,7 +269,7 @@ hpux_sys_fcntl(p, v, retval) error = copyin((caddr_t)SCARG(uap, arg), (caddr_t)&hfl, sizeof (hfl)); if (error) - goto bad; + goto out; fl.l_start = hfl.hl_start; fl.l_len = hfl.hl_len; @@ -321,7 +321,7 @@ hpux_sys_fcntl(p, v, retval) error = copyin((caddr_t)SCARG(uap, arg), (caddr_t)&hfl, sizeof (hfl)); if (error) - goto bad; + goto out; fl.l_start = hfl.hl_start; fl.l_len = hfl.hl_len; @@ -333,7 +333,7 @@ hpux_sys_fcntl(p, v, retval) if ((error = VOP_ADVLOCK(vp, (caddr_t)p, F_GETLK, &fl, F_POSIX))) - goto bad; + goto out; hfl.hl_start = fl.l_start; hfl.hl_len = fl.l_len; @@ -377,7 +377,7 @@ hpux_sys_fcntl(p, v, retval) if (mode & O_EXCL) *retval |= HPUXFEXCL; } -bad: +out: FRELE(fp); return (error); } |