summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-06-23 09:44:30 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-06-23 09:44:30 +0000
commiteaa0c2c3bca10b1b334eb58cb246ad50b3a2b0c2 (patch)
tree2125993b9deb4a4409a6b2612995956a56b25356 /sys/kern/kern_exit.c
parentd9af5e26bd7d654327cb908dcc68a8b7562e98ad (diff)
Improved sysv shared memory. Works with UVM.
Original work done in FreeBSD, but this code was ported from NetBSD by Chuck Cranor.
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);