diff options
-rw-r--r-- | sys/compat/svr4/svr4_ipc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_ipc.c b/sys/compat/svr4/svr4_ipc.c index 8fe2d0683d4..97fb7ac14dc 100644 --- a/sys/compat/svr4/svr4_ipc.c +++ b/sys/compat/svr4/svr4_ipc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_ipc.c,v 1.4 1997/08/29 18:30:58 kstailey Exp $ */ +/* $OpenBSD: svr4_ipc.c,v 1.5 2001/03/16 01:21:24 csapuntz Exp $ */ /* $NetBSD: svr4_ipc.c,v 1.3 1997/03/30 17:21:02 christos Exp $ */ /* @@ -221,7 +221,7 @@ svr4_semctl(p, v, retval) SCARG(&ap, arg)->buf = stackgap_alloc(&sg, sizeof(bs)); if ((error = sys___semctl(p, &ap, retval)) != 0) return error; - error = copyin(&bs, SCARG(&ap, arg)->buf, sizeof bs); + error = copyin(SCARG(&ap, arg)->buf, &bs, sizeof bs); if (error) return error; bsd_to_svr4_semid_ds(&bs, &ss); |