summaryrefslogtreecommitdiff
path: root/sys/kern/sysv_msg.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-22 14:14:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-22 14:14:12 +0000
commit0feae2b086084ce16940249793f7b5ecabe85c52 (patch)
tree98fa9664da9fd8be22e369584c568625bc15f799 /sys/kern/sysv_msg.c
parenta49f87d13c19deac6e87761b349d96038b3acdfc (diff)
KNF
Diffstat (limited to 'sys/kern/sysv_msg.c')
-rw-r--r--sys/kern/sysv_msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c
index 66d34143026..70f94c2d407 100644
--- a/sys/kern/sysv_msg.c
+++ b/sys/kern/sysv_msg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysv_msg.c,v 1.9 2001/05/16 17:14:35 millert Exp $ */
+/* $OpenBSD: sysv_msg.c,v 1.10 2001/06/22 14:14:09 deraadt Exp $ */
/* $NetBSD: sysv_msg.c,v 1.19 1996/02/09 19:00:18 christos Exp $ */
/*
@@ -825,8 +825,8 @@ sys_msgrcv(p, v, retval)
struct msg **prev;
for (previous = NULL, prev = &msqptr->msg_first;
- (msghdr = *prev) != NULL;
- previous = msghdr, prev = &msghdr->msg_next) {
+ (msghdr = *prev) != NULL;
+ previous = msghdr, prev = &msghdr->msg_next) {
/*
* Is this message's type an exact match or is
* this message's type less than or equal to