Date: Sat, 25 Mar 2000 12:11:07 +1100 (EST) From: benno@netizen.com.au To: FreeBSD-gnats-submit@freebsd.org Subject: docs/17590: [patch] typo in queue.3 Message-ID: <200003250111.MAA00715@rat-thing.netizen.com.au>
index | next in thread | raw e-mail
>Number: 17590
>Category: docs
>Synopsis: [patch] typo in queue.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 24 17:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Benno Rice
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
Netizen Pty Ltd
>Environment:
FreeBSD rat-thing.netizen.com.au 5.0-CURRENT FreeBSD 5.0-CURRENT #11: Wed Mar 15 14:04:47 EST 2000 benno@rat-thing.netizen.com.au:/usr/src/sys/compile/RATTHING i386
>Description:
TAILQ_REMOVE_HEAD used instead of STAILQ_REMOVE_HEAD in the STAILQ example.
>How-To-Repeat:
man 3 queue
>Fix:
--- /usr/src/share/man/man3/queue.3 Mon Dec 20 06:12:14 1999
+++ queue.3 Fri Mar 24 22:26:23 2000
@@ -564,7 +564,7 @@
/* TailQ Deletion. */
while (!STAILQ_EMPTY(&head)) {
n1 = STAILQ_HEAD(&head);
- TAILQ_REMOVE_HEAD(&head, entries);
+ STAILQ_REMOVE_HEAD(&head, entries);
free(n1);
}
/* Faster TailQ Deletion. */
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003250111.MAA00715>
