summaryrefslogtreecommitdiff
path: root/sys/compat/hpux
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/hpux')
-rw-r--r--sys/compat/hpux/hpux_file.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/compat/hpux/hpux_file.c b/sys/compat/hpux/hpux_file.c
index 6ee19e08b7f..b83eced4dcb 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.15 2004/07/09 21:33:44 mickey Exp $ */
+/* $OpenBSD: hpux_file.c,v 1.16 2005/02/15 21:12:44 aaron Exp $ */
/* $NetBSD: hpux_file.c,v 1.5 1997/04/27 21:40:48 thorpej Exp $ */
/*
@@ -307,9 +307,10 @@ hpux_sys_fcntl(p, v, retval)
/* NOTREACHED */
case F_GETLK:
- if (fp->f_type != DTYPE_VNODE)
- error = EBADF;
- goto out;
+ if (fp->f_type != DTYPE_VNODE) {
+ error = EBADF;
+ goto out;
+ }
vp = (struct vnode *)fp->f_data;