summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabiano Fidencio <fidencio@profusion.mobi>2010-09-27 18:34:56 -0300
committerLennart Poettering <lennart@poettering.net>2010-09-28 21:57:34 +0200
commit95e26a692d0af027a5fe83e1743e307c864b4af0 (patch)
treeb8f61fb0121fbf0fb55b94e4a71479341884e8fb
parent59fee421a08818a4c975d811f78a9a7082cc5ecd (diff)
list: Fixing typo in LIST_FIND_HEAD
Just removing a parenthesis
-rw-r--r--src/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.h b/src/list.h
index 9380f362f1..e49d953d0a 100644
--- a/src/list.h
+++ b/src/list.h
@@ -77,7 +77,7 @@
do { \
t *_item = (item); \
assert(_item); \
- while ((_item->name##_prev) \
+ while (_item->name##_prev) \
_item = _item->name##_prev; \
(head) = _item; \
} while (false)