From 90eeab76b064b3266ea63e0ea29ce0b893109565 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Mon, 5 Mar 2012 01:00:09 +0100 Subject: [PATCH] * grub-core/commands/menuentry.c (options): Remove GRUB_ARG_OPTION_REPEATABLE. Reported by: Andreas Vogel --- ChangeLog | 6 ++++++ grub-core/commands/menuentry.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 736f007ef..57d7dfb3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-03-04 Vladimir Serbinenko + + * grub-core/commands/menuentry.c (options): Remove + GRUB_ARG_OPTION_REPEATABLE. + Reported by: Andreas Vogel + 2012-03-04 Andreas Vogel * grub-core/normal/main.c (grub_normal_free_menu): Fix memory leak. diff --git a/grub-core/commands/menuentry.c b/grub-core/commands/menuentry.c index a4e498a95..6999123ce 100644 --- a/grub-core/commands/menuentry.c +++ b/grub-core/commands/menuentry.c @@ -36,8 +36,7 @@ static const struct grub_arg_option options[] = N_("Keyboard key to quickly boot this entry."), N_("KEYBOARD_KEY"), ARG_TYPE_STRING}, {"source", 4, 0, N_("Use STRING as menu entry body."), N_("STRING"), ARG_TYPE_STRING}, - {"id", 1, GRUB_ARG_OPTION_REPEATABLE, - N_("Menu entry identifier."), N_("STRING"), ARG_TYPE_STRING}, + {"id", 0, 0, N_("Menu entry identifier."), N_("STRING"), ARG_TYPE_STRING}, {0, 0, 0, 0, 0, 0} };