mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-25 23:57:38 +00:00
* grub-core/lib/cmdline.c (grub_loader_cmdline_size): Fix empty cmdline
handling.
This commit is contained in:
parent
3c98038174
commit
2df1255117
@ -1,3 +1,8 @@
|
|||||||
|
2013-11-09 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/lib/cmdline.c (grub_loader_cmdline_size): Fix empty cmdline
|
||||||
|
handling.
|
||||||
|
|
||||||
2013-11-09 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-09 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/commands/i386/cmostest.c: Add new command "cmosset".
|
* grub-core/commands/i386/cmostest.c: Add new command "cmosset".
|
||||||
|
@ -56,6 +56,9 @@ unsigned int grub_loader_cmdline_size (int argc, char *argv[])
|
|||||||
size++; /* Separator space or NULL. */
|
size++; /* Separator space or NULL. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (size == 0)
|
||||||
|
size = 1;
|
||||||
|
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user