summaryrefslogtreecommitdiffstats
path: root/commands/menu.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-08-21 18:04:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-08-30 20:57:20 +0200
commitb11b88de64366210e6bb7a5e669bd6f4e770ccd7 (patch)
tree0a69cb68b909624afbcc32d54f1bc300d719624c /commands/menu.c
parenta75d6dacc3832c9c07eef3bfb35d591eec5b6a58 (diff)
downloadbarebox-b11b88de64366210e6bb7a5e669bd6f4e770ccd7.tar.gz
menu: remove superfluous struct menu_entry member from struct menu
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/menu.c')
-rw-r--r--commands/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/menu.c b/commands/menu.c
index 39f106b..48834f3 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);
}