summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index e12833d2947..3f9ad4c9711 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exit.c,v 1.17 1999/03/12 17:49:37 deraadt Exp $ */
+/* $OpenBSD: kern_exit.c,v 1.18 1999/06/23 09:44:28 art Exp $ */
/* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */
/*
@@ -147,7 +147,7 @@ exit1(p, rv)
vm = p->p_vmspace;
#ifdef SYSVSHM
if (vm->vm_shm)
- shmexit(p);
+ shmexit(vm);
#endif
#ifdef SYSVSEM
semexit(p);