summaryrefslogtreecommitdiff
path: root/sys/compat/common
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-05-26 01:15:13 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-05-26 01:15:13 +0000
commit80597f9bce24d6eb08516a0a0a99dbfa47b6014d (patch)
treed13e19929cce6696afa8c3807fd0859ec3ca3bf5 /sys/compat/common
parent8a127a5b7bb534b35754f70c8bbf2cefeb57c624 (diff)
fix little nonsense introduced by my last commit here
Diffstat (limited to 'sys/compat/common')
-rw-r--r--sys/compat/common/vfs_syscalls_43.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/compat/common/vfs_syscalls_43.c b/sys/compat/common/vfs_syscalls_43.c
index e95f45114de..78a7f9dee56 100644
--- a/sys/compat/common/vfs_syscalls_43.c
+++ b/sys/compat/common/vfs_syscalls_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls_43.c,v 1.26 2005/05/26 00:33:45 pedro Exp $ */
+/* $OpenBSD: vfs_syscalls_43.c,v 1.27 2005/05/26 01:15:12 pedro Exp $ */
/* $NetBSD: vfs_syscalls_43.c,v 1.4 1996/03/14 19:31:52 christos Exp $ */
/*
@@ -429,8 +429,6 @@ compat_43_sys_getdirentries(p, v, retval)
VOP_UNLOCK(vp, 0, p);
if (error)
goto bad;
- if (error)
- goto bad;
error = copyout((caddr_t)&loff, (caddr_t)SCARG(uap, basep),
sizeof(long));
*retval = SCARG(uap, count) - auio.uio_resid;