summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man3/queue.34
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3
index 0535b18e192..e2586630839 100644
--- a/share/man/man3/queue.3
+++ b/share/man/man3/queue.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: queue.3,v 1.21 2002/02/03 16:36:40 jason Exp $
+.\" $OpenBSD: queue.3,v 1.22 2002/02/24 04:35:32 krw 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.
@@ -846,7 +846,7 @@ TAILQ_INSERT_AFTER(&head, n1, n2, entries);
n2 = malloc(sizeof(struct entry)); /* Insert before. */
TAILQ_INSERT_BEFORE(n1, n2, entries);
/* Forward traversal. */
-for (np = TAILQ_FIRST(&head); np; np = TAILQ_NEXT(&head, entries))
+for (np = TAILQ_FIRST(&head); np; np = TAILQ_NEXT(np, entries))
np-> ...
/* Delete. */
while (np = TAILQ_FIRST(&head))