From 41aeecc4eff296252a1ffc06f8c581ec90b9076d Mon Sep 17 00:00:00 2001 From: Jan Friesse Date: Tue, 22 Feb 2011 12:19:48 +0100 Subject: [PATCH] Iterate all items in object_reload_notification Signed-off-by: Jan Friesse Reviewed-by: Steven Dake --- exec/objdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/objdb.c b/exec/objdb.c index dc362363..884263b3 100644 --- a/exec/objdb.c +++ b/exec/objdb.c @@ -342,7 +342,7 @@ static void object_reload_notification(int startstop, int flush) } for (list = tmplist.next, tmp = list->next; - list != tmplist.prev; list = tmp, tmp = list->next) { + list != &tmplist; list = tmp, tmp = list->next) { tracker_pt = list_entry (list, struct object_tracker, object_list);