summaryrefslogtreecommitdiff
path: root/sys/kern/sysv_shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/sysv_shm.c')
-rw-r--r--sys/kern/sysv_shm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c
index aec72bdc87d..9ac0728b015 100644
--- a/sys/kern/sysv_shm.c
+++ b/sys/kern/sysv_shm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysv_shm.c,v 1.6 1997/02/21 08:52:23 deraadt Exp $ */
+/* $OpenBSD: sysv_shm.c,v 1.7 1998/05/11 06:13:48 deraadt Exp $ */
/* $NetBSD: sysv_shm.c,v 1.37 1996/03/16 23:17:13 christos Exp $ */
/*
@@ -172,7 +172,7 @@ sys_shmdt(p, v, retval)
register_t *retval;
{
struct sys_shmdt_args /* {
- syscallarg(void *) shmaddr;
+ syscallarg(const void *) shmaddr;
} */ *uap = v;
struct shmmap_state *shmmap_s;
int i;
@@ -197,7 +197,7 @@ sys_shmat(p, v, retval)
{
struct sys_shmat_args /* {
syscallarg(int) shmid;
- syscallarg(void *) shmaddr;
+ syscallarg(const void *) shmaddr;
syscallarg(int) shmflg;
} */ *uap = v;
int error, i, flags;