fix sandbox/mbloch/list_impl
authorMichal Bloch <m.bloch@samsung.com>
Tue, 19 Sep 2017 12:34:43 +0000 (14:34 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Tue, 19 Sep 2017 12:34:43 +0000 (14:34 +0200)
Change-Id: I5a4fa877990f921b9a8fa333951d0ae44018c2df
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/util/list.h

index fd28d8b7bf4227d68b32cbc9e45a5b26df713cc0..f052d99a4ab8af4bbdd4f678aa4323fca32219b6 100644 (file)
@@ -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;
 }
 
 /*