diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-23 21:02:44 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-23 21:02:44 +0000 |
commit | 9d20e25a89c745d775d33b8005a6ca26d97faa5a (patch) | |
tree | 27c659bb93e57490223f1ccd66a1488a6ffd0919 /sys/compat/svr4/svr4_ipc.c | |
parent | 59ea97bfac9eb353e827ddbfa9c2012c53eb2386 (diff) | |
download | FreeBSD-src-9d20e25a89c745d775d33b8005a6ca26d97faa5a.zip FreeBSD-src-9d20e25a89c745d775d33b8005a6ca26d97faa5a.tar.gz |
FreeBSD doesn't have p_emuldata, and our stackgap_init() doesn't take an
argument.
Diffstat (limited to 'sys/compat/svr4/svr4_ipc.c')
-rw-r--r-- | sys/compat/svr4/svr4_ipc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/svr4/svr4_ipc.c b/sys/compat/svr4/svr4_ipc.c index 6c0e578..dd86bd8 100644 --- a/sys/compat/svr4/svr4_ipc.c +++ b/sys/compat/svr4/svr4_ipc.c @@ -219,7 +219,7 @@ svr4_semctl(p, v, retval) struct sys___semctl_args ap; struct svr4_semid_ds ss; struct semid_ds bs, *bsp; - caddr_t sg = stackgap_init(p->p_emul); + caddr_t sg = stackgap_init(); SCARG(&ap, semid) = SCARG(uap, semid); SCARG(&ap, semnum) = SCARG(uap, semnum); @@ -536,7 +536,7 @@ svr4_msgctl(p, v, retval) struct sys_msgctl_args ap; struct svr4_msqid_ds ss; struct msqid_ds bs; - caddr_t sg = stackgap_init(p->p_emul); + caddr_t sg = stackgap_init(); SCARG(&ap, msqid) = SCARG(uap, msqid); SCARG(&ap, cmd) = SCARG(uap, cmd); @@ -724,7 +724,7 @@ svr4_shmctl(p, v, retval) { struct svr4_sys_shmctl_args *uap = v; int error; - caddr_t sg = stackgap_init(p->p_emul); + caddr_t sg = stackgap_init(); struct sys_shmctl_args ap; struct shmid_ds bs; struct svr4_shmid_ds ss; |