diff --git a/ChangeLog b/ChangeLog index 38e6b9d8f..3e5b954dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-02-04 Vladimir Serbinenko + + * grub-core/script/execute.c (grub_script_return): Fix warning. + 2012-02-04 Vladimir Serbinenko * grub-core/script/execute.c (grub_script_return): Fix potential diff --git a/grub-core/script/execute.c b/grub-core/script/execute.c index 97496e9ba..fcfd5ce9b 100644 --- a/grub-core/script/execute.c +++ b/grub-core/script/execute.c @@ -161,7 +161,7 @@ grub_script_return (grub_command_t cmd __attribute__((unused)), if (argc == 0) { - char *t; + const char *t; function_return = 1; t = grub_env_get ("?"); if (!t)