From b11b88de64366210e6bb7a5e669bd6f4e770ccd7 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sat, 21 Aug 2010 18:04:33 +0200 Subject: menu: remove superfluous struct menu_entry member from struct menu Signed-off-by: Sascha Hauer --- commands/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/menu.c') diff --git a/commands/menu.c b/commands/menu.c index 39f106b5ab..48834f3c0d 100644 --- a/commands/menu.c +++ b/commands/menu.c @@ -266,7 +266,7 @@ static void print_entries(struct menu *m) struct list_head *pos; struct menu_entry *me; - list_for_each(pos, &(m->entries.list)) { + list_for_each(pos, &(m->entries)) { me = list_entry(pos, struct menu_entry, list); printf("%d: %s\n", me->num, me->display); } -- cgit v1.2.3