diff options
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); |
