* util/grub-file.c (main): Fix sizeof usage.

This commit is contained in:
Vladimir Serbinenko 2013-12-18 06:20:20 +01:00
parent a43b3e5d8e
commit ee4450eb6f
2 changed files with 7 additions and 3 deletions

View file

@ -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)
{