grub-mkrescue: Fix error message about the wrong command having failed: mformat instead of mcopy

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Vincent Legoll 2019-04-28 01:21:49 +02:00 committed by Daniel Kiper
parent afd6ad4297
commit 53e70d30cf

View file

@ -815,7 +815,7 @@ main (int argc, char *argv[])
grub_util_error ("`%s` invocation failed\n", "mformat");
rv = grub_util_exec ((const char * []) { "mcopy", "-s", "-i", efiimgfat, efidir_efi, "::/", NULL });
if (rv != 0)
grub_util_error ("`%s` invocation failed\n", "mformat");
grub_util_error ("`%s` invocation failed\n", "mcopy");
xorriso_push ("--efi-boot");
xorriso_push ("efi.img");
xorriso_push ("-efi-boot-part");