summaryrefslogtreecommitdiff
path: root/tailq.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2008-11-13 16:35:42 +0000
committerDimitri Sokolyuk <demon@dim13.org>2008-11-13 16:35:42 +0000
commit84eaf6e55c974b7f13fee5cd608fca366353b56f (patch)
tree077e5ef3e89032dd6cd59c7227deac9d0dae70d8 /tailq.c
parent4325c036fca0264d64212c6c837616387818d752 (diff)
sync
Diffstat (limited to 'tailq.c')
-rw-r--r--tailq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tailq.c b/tailq.c
index de9e312..8501341 100644
--- a/tailq.c
+++ b/tailq.c
@@ -67,7 +67,7 @@ main(void)
* loop through the other way, note the use of tqhead
*/
printf("backwards!\n");
- TAILQ_FOREACH_REVERSE(fp, tqp, f_link, tqhead)
+ TAILQ_FOREACH_REVERSE(fp, tqp, tqhead, f_link)
printf("%d %c\n", fp->f_a, fp->f_b);
/*