diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2015-10-10 20:36:21 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2015-10-10 20:36:21 +0000 |
commit | 3517be6f8f73ef685d69e2d7a9583d8e799718e2 (patch) | |
tree | 2c5c167ee9cd04be0110b4d50f15bae6672e9ede /share/man/man3/queue.3 | |
parent | 8d404b3642b5cd3bbc23b967a369465cdceef0a6 (diff) |
Added missing curly bracket into LIST_EMPTY example.
ok deraadt@, otto@
Diffstat (limited to 'share/man/man3/queue.3')
-rw-r--r-- | share/man/man3/queue.3 | 6 |
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); |