diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 199202c383a..adcaaa4d0fc 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.52 1999/01/10 22:47:08 art Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.53 1999/01/19 20:52:47 art Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -2176,7 +2176,7 @@ sys_rmdir(p, v, retval) * No rmdir "." please. */ if (nd.ni_dvp == vp) { - error = EINVAL; + error = EBUSY; goto out; } /* |