summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-08-09 21:44:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-08-09 21:44:25 +0000
commitf910c8d22629848baf33b6ce536abff685300613 (patch)
tree12dab01faf88273697810f8d7b48b57a58978857 /sys/kern
parent7fcfca35b05ac850c016ff09ba0ae4b2932e5605 (diff)
unique panic messages
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/sysv_msg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c
index 4c3bc097f41..2a7f2097828 100644
--- a/sys/kern/sysv_msg.c
+++ b/sys/kern/sysv_msg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysv_msg.c,v 1.7 1999/04/18 18:24:40 deraadt Exp $ */
+/* $OpenBSD: sysv_msg.c,v 1.8 1999/08/09 21:44:24 deraadt Exp $ */
/* $NetBSD: sysv_msg.c,v 1.19 1996/02/09 19:00:18 christos Exp $ */
/*
@@ -214,9 +214,9 @@ sys_omsgctl(p, v, retval)
#ifdef DIAGNOSTIC
if (msqptr->msg_cbytes != 0)
- panic("msg_cbytes is screwed up");
+ panic("sys_omsgctl: msg_cbytes is screwed up");
if (msqptr->msg_qnum != 0)
- panic("msg_qnum is screwed up");
+ panic("sys_omsgctl: msg_qnum is screwed up");
#endif
msqptr->msg_qbytes = 0; /* Mark it as free */
@@ -350,9 +350,9 @@ sys_msgctl(p, v, retval)
#ifdef DIAGNOSTIC
if (msqptr->msg_cbytes != 0)
- panic("msg_cbytes is screwed up");
+ panic("sys_msgctl: msg_cbytes is screwed up");
if (msqptr->msg_qnum != 0)
- panic("msg_qnum is screwed up");
+ panic("sys_msgctl: msg_qnum is screwed up");
#endif
msqptr->msg_qbytes = 0; /* Mark it as free */