x86: define cmdline_cook() loader_name argument as a const

cmdline_cook() loader_name argument is not changed so
define it as a const.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Daniel Kiper authored and Jan Beulich committed 2014-10-21 17:33:13 +02:00
1 parent c73844904d
commit 2be76df6c4
1 file changed
+1 -1
+1 -1
View File
@@ -508,7 +508,7 @@ static bool_t __init loader_is_grub2(const char *loader_name)
return (p != NULL) && (p[5] != '0');
}
static char * __init cmdline_cook(char *p, char *loader_name)
static char * __init cmdline_cook(char *p, const char *loader_name)
{
p = p ? : "";
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.