* util/grub-file.c (main): Fix sizeof usage.
This commit is contained in:
parent
a43b3e5d8e
commit
ee4450eb6f
2 changed files with 7 additions and 3 deletions
|
@ -1,8 +1,12 @@
|
|||
2013-12-17 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-file.c (main): Fix sizeof usage.
|
||||
|
||||
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Silence spurious warning.
|
||||
|
||||
2013-12-17 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Remove check_nt_hiberfil as it's been superseeded by file command.
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ main (int argc, char *argv[])
|
|||
|
||||
grub_util_host_init (&argc, &argv);
|
||||
|
||||
argv2 = xmalloc (argc * sizeof (argv));
|
||||
argv2 = xmalloc (argc * sizeof (argv2[0]));
|
||||
|
||||
if (argc == 2 && strcmp (argv[1], "--version") == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue