]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/script/execute.c (grub_script_return): Fix warning.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 4 Feb 2012 11:21:21 +0000 (12:21 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 4 Feb 2012 11:21:21 +0000 (12:21 +0100)
ChangeLog
grub-core/script/execute.c

index 38e6b9d8f0ac1eaa98a9689db84a8c9955a93d04..3e5b954dddd2aee710882976a26202adba20575d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-04  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/script/execute.c (grub_script_return): Fix warning.
+
 2012-02-04  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/script/execute.c (grub_script_return): Fix potential
index 97496e9ba23ebd4a6942c037a7223f0516bd1820..fcfd5ce9b5a5a09cd34326ffc66ddf2b1acf554c 100644 (file)
@@ -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)