replaced with grub_strchrsub function

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

No files matched your search

+1 -1
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';