summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2019-11-04 00:48:23 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2019-11-04 00:48:23 +0000
commitaf8d49c6bdaf5ddd81b8f24707df13a7c25c189a (patch)
tree3752f0981d45099d92b20268bef9d7cc8a81dc6c
parentaa58f2883cd65af16d6e057f5c1d39313cb80c06 (diff)
Fix previous commit: missed a ds_copyin() moved in rev 1.72
-rw-r--r--sys/kern/sysv_shm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c
index 5215308e1ef..6e9f7e2184d 100644
--- a/sys/kern/sysv_shm.c
+++ b/sys/kern/sysv_shm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysv_shm.c,v 1.73 2019/11/03 20:16:01 guenther Exp $ */
+/* $OpenBSD: sysv_shm.c,v 1.74 2019/11/04 00:48:22 guenther Exp $ */
/* $NetBSD: sysv_shm.c,v 1.50 1998/10/21 22:24:29 tron Exp $ */
/*
@@ -296,7 +296,7 @@ sys_shmctl(struct proc *p, void *v, register_t *retval)
int error;
if (cmd == IPC_SET) {
- error = ds_copyin(buf, &inbuf, sizeof(inbuf));
+ error = copyin(buf, &inbuf, sizeof(inbuf));
if (error)
return (error);
}