summaryrefslogtreecommitdiff
path: root/sys/compat/ibcs2/ibcs2_misc.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-11 10:48:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-11 10:48:15 +0000
commitd6a003e7eba0b91db979f44436b87d1da088fc25 (patch)
tree946c178c7d739077cce586cb65c7d057b6e51fb8 /sys/compat/ibcs2/ibcs2_misc.c
parent115ba911b5bc216029bd1acfa9cffd2b33ff2d82 (diff)
sync with netbsd; missing SCARG() macros
Diffstat (limited to 'sys/compat/ibcs2/ibcs2_misc.c')
-rw-r--r--sys/compat/ibcs2/ibcs2_misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/ibcs2/ibcs2_misc.c b/sys/compat/ibcs2/ibcs2_misc.c
index 59bcee1414b..5a670f21125 100644
--- a/sys/compat/ibcs2/ibcs2_misc.c
+++ b/sys/compat/ibcs2/ibcs2_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibcs2_misc.c,v 1.9 1997/06/17 11:11:09 deraadt Exp $ */
+/* $OpenBSD: ibcs2_misc.c,v 1.10 1997/09/11 10:48:14 deraadt Exp $ */
/* $NetBSD: ibcs2_misc.c,v 1.23 1997/01/15 01:37:49 perry Exp $ */
/*
@@ -132,8 +132,8 @@ ibcs2_sys_ulimit(p, v, retval)
case IBCS2_SETFSIZE: /* XXX - fix this */
#ifdef notyet
rl.rlim_cur = SCARG(uap, newlimit);
- sra.which = RLIMIT_FSIZE;
- sra.rlp = &rl;
+ SCARG(&sra, which) = RLIMIT_FSIZE;
+ SCARG(&sra, rlp) = &rl;
error = setrlimit(p, &sra, retval);
if (!error)
*retval = p->p_rlimit[RLIMIT_FSIZE].rlim_cur;
@@ -148,7 +148,7 @@ ibcs2_sys_ulimit(p, v, retval)
*retval = p->p_rlimit[RLIMIT_RSS].rlim_cur; /* XXX */
return 0;
case IBCS2_GETDTABLESIZE:
- uap->cmd = IBCS2_SC_OPEN_MAX;
+ SCARG(uap, cmd) = IBCS2_SC_OPEN_MAX;
return ibcs2_sys_sysconf(p, uap, retval);
default:
return ENOSYS;