replaced with grub_strchrsub function
This commit is contained in:
parent
d7647bb670
commit
5b08062083
5 changed files with 31 additions and 28 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue