summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/menu.c2
1 files changed, 1 insertions, 1 deletions
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);
}