Fix list init
authorcharles <charles>
Mon, 17 Mar 2008 19:46:59 +0000 (19:46 +0000)
committercharles <charles>
Mon, 17 Mar 2008 19:46:59 +0000 (19:46 +0000)
devextras.h

index 1944705..2ba88a2 100644 (file)
@@ -50,7 +50,7 @@ struct list_head {
 #define INIT_LIST_HEAD(p) \
 do { \
  (p)->next = (p);\
- (p)->next = (p); \
+ (p)->prev = (p); \
 } while(0)