diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-13 06:21:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-13 06:21:32 +0000 |
commit | 99c77b72ddb9bb9c0967cd6361c8832d8c8d8082 (patch) | |
tree | f8b33f5452ce4e48536d5a807fad03315147652a /sys/compat/svr4 | |
parent | eb3ee72710c56798e41312420cbeb665cd8543da (diff) |
make svr4_sys_ulimit() return EINVAL for bad commands
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r-- | sys/compat/svr4/svr4_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c index 0831753d335..007ef621f33 100644 --- a/sys/compat/svr4/svr4_misc.c +++ b/sys/compat/svr4/svr4_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_misc.c,v 1.14 1997/11/06 05:58:06 csapuntz Exp $ */ +/* $OpenBSD: svr4_misc.c,v 1.15 1997/11/13 06:21:31 deraadt Exp $ */ /* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */ /* @@ -746,7 +746,7 @@ svr4_sys_ulimit(p, v, retval) return 0; default: - return ENOSYS; + return EINVAL; } } |