summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Bloch <m.bloch@samsung.com>2017-09-19 14:34:43 +0200
committerMichal Bloch <m.bloch@samsung.com>2017-09-19 14:34:43 +0200
commitc2e367f4911ad93ce8aa41f39f305ac162e4e1c5 (patch)
treeccf640fe6e077e58aff78e92449b8237d2a53dbe
parentaa0cc67185577cff53b62641734b7204367f8c56 (diff)
downloadfaultd-sandbox/mbloch/list_impl.tar.gz
faultd-sandbox/mbloch/list_impl.tar.bz2
faultd-sandbox/mbloch/list_impl.zip
Change-Id: I5a4fa877990f921b9a8fa333951d0ae44018c2df Signed-off-by: Michal Bloch <m.bloch@samsung.com>
-rw-r--r--src/util/list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/list.h b/src/util/list.h
index fd28d8b..f052d99 100644
--- a/src/util/list.h
+++ b/src/util/list.h
@@ -39,8 +39,8 @@ struct list_head {
static inline void INIT_LIST_HEAD(struct list_head *head)
{
- head->next = &head;
- head->prev = &head;
+ head->next = head;
+ head->prev = head;
}
/*