summaryrefslogtreecommitdiffstats
path: root/share/man/man3/queue.3
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man3/queue.3')
-rw-r--r--share/man/man3/queue.32
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3
index ee1c66c..fd8d774 100644
--- a/share/man/man3/queue.3
+++ b/share/man/man3/queue.3
@@ -887,7 +887,7 @@ TAILQ_FOREACH(np, &head, entries)
TAILQ_FOREACH_REVERSE(np, &head, tailhead, entries)
np-> ...
/* TailQ Deletion. */
-while (!TAILQ_EMPTY(head)) {
+while (!TAILQ_EMPTY(&head)) {
n1 = TAILQ_FIRST(&head);
TAILQ_REMOVE(&head, n1, entries);
free(n1);
OpenPOWER on IntegriCloud