2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
* script/sh/function.c (grub_script_function_find): Cut error message not to flood terminal. * script/sh/lexer.c (grub_script_yylex): Remove command line length limit. * script/sh/script.c (grub_script_arg_add): Duplicate string.
This commit is contained in:
parent
c385bfc37f
commit
48e40bff44
4 changed files with 69 additions and 24 deletions
|
@ -99,7 +99,7 @@ grub_script_function_find (char *functionname)
|
|||
break;
|
||||
|
||||
if (! func)
|
||||
grub_error (GRUB_ERR_UNKNOWN_COMMAND, "unknown command `%s'", functionname);
|
||||
grub_error (GRUB_ERR_UNKNOWN_COMMAND, "unknown command `%.20s'", functionname);
|
||||
|
||||
return func;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue