summaryrefslogtreecommitdiffstats
path: root/share/man/man3
diff options
context:
space:
mode:
authortobias <tobias@openbsd.org>2015-10-10 20:36:20 +0000
committertobias <tobias@openbsd.org>2015-10-10 20:36:20 +0000
commitc0c677616e0e243fbe586c5f232aaa00cd7fb85b (patch)
tree9f86d6b69ef14a3f99932412daf70e10684ebd37 /share/man/man3
parentnormalize a few more tame request orderings, to help review (diff)
downloadwireguard-openbsd-c0c677616e0e243fbe586c5f232aaa00cd7fb85b.tar.xz
wireguard-openbsd-c0c677616e0e243fbe586c5f232aaa00cd7fb85b.zip
Added missing curly bracket into LIST_EMPTY example.
ok deraadt@, otto@
Diffstat (limited to 'share/man/man3')
-rw-r--r--share/man/man3/queue.36
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3
index bee5b0ef951..01b3fe11b24 100644
--- a/share/man/man3/queue.3
+++ b/share/man/man3/queue.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: queue.3,v 1.60 2014/09/13 01:09:31 guenther Exp $
+.\" $OpenBSD: queue.3,v 1.61 2015/10/10 20:36:20 tobias Exp $
.\" $NetBSD: queue.3,v 1.4 1995/07/03 00:25:36 mycroft Exp $
.\"
.\" Copyright (c) 1993 The Regents of the University of California.
@@ -30,7 +30,7 @@
.\"
.\" @(#)queue.3 8.1 (Berkeley) 12/13/93
.\"
-.Dd $Mdocdate: September 13 2014 $
+.Dd $Mdocdate: October 10 2015 $
.Dt QUEUE 3
.Os
.Sh NAME
@@ -593,7 +593,7 @@ LIST_INSERT_BEFORE(n1, n2, entries);
LIST_FOREACH(np, &head, entries)
np-> ...
-while (!LIST_EMPTY(&head)) /* Delete. */
+while (!LIST_EMPTY(&head)) { /* Delete. */
n1 = LIST_FIRST(&head);
LIST_REMOVE(n1, entries);
free(n1);