replaced with grub_strchrsub function

This commit is contained in:
BVK Chaitanya 2010-11-25 18:56:20 +05:30
parent d7647bb670
commit 5b08062083
5 changed files with 31 additions and 28 deletions

View file

@ -228,7 +228,7 @@ setparams_prefix (int argc, char **args)
{
*p++ = ' ';
*p++ = '\'';
p = grub_script_escape_squotes (p, args[j], grub_strlen (args[j]));
p = grub_strchrsub (p, args[j], '\'', "'\\''");
*p++ = '\'';
}
*p++ = '\n';