summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-12-11 16:31:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-12-11 16:31:48 +0000
commit2de9b65c30130b7b1a5e668c58a11cbfaf47c881 (patch)
treee5e8c20e414f6fe20b4bc7f4dd97b88213c42f87 /sys/kern
parent8681fab5fcd26b61704a243edb3d411fa884eaf5 (diff)
a little bit of paranoia
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_exit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 42eb109530b..039771ebd76 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exit.c,v 1.80 2008/11/06 21:47:50 deraadt Exp $ */
+/* $OpenBSD: kern_exit.c,v 1.81 2008/12/11 16:31:47 deraadt Exp $ */
/* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */
/*
@@ -338,6 +338,7 @@ exit1(struct proc *p, int rv, int flags)
*/
uvmexp.swtch++;
cpu_exit(p);
+ panic("cpu_exit returned");
}
/*