diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-20 21:39:45 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-20 21:39:45 +0000 |
| commit | 29059a6548ec1683f4c91ec4d91d79cf735b6505 (patch) | |
| tree | d221fbcedfa0af3d699d60fbb914b96a95663591 /man3/queue.3 | |
| parent | bb38b71d155299126b7c03de9003e029801b1e0d (diff) | |
| download | man-pages-29059a6548ec1683f4c91ec4d91d79cf735b6505.tar.gz | |
s/-/\\-/
Diffstat (limited to 'man3/queue.3')
| -rw-r--r-- | man3/queue.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/queue.3 b/man3/queue.3 index 50eb843a5a..1c73dc1b6a 100644 --- a/man3/queue.3 +++ b/man3/queue.3 @@ -239,8 +239,8 @@ LIST_INSERT_HEAD(&head, n1, entries); n2 = malloc(sizeof(struct entry)); /* Insert after. */ LIST_INSERT_AFTER(n1, n2, entries); /* Forward traversal. */ -for (np = head.lh_first; np != NULL; np = np->entries.le_next) - np-> ... +for (np = head.lh_first; np != NULL; np = np\->entries.le_next) + np\-> ... while (head.lh_first != NULL) /* Delete. */ LIST_REMOVE(head.lh_first, entries); |
