From 53e70d30cf0d18e6c28bab0ab8d223a90d3e1b46 Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Sun, 28 Apr 2019 01:21:49 +0200 Subject: [PATCH] grub-mkrescue: Fix error message about the wrong command having failed: mformat instead of mcopy Signed-off-by: Vincent Legoll Reviewed-by: Daniel Kiper --- util/grub-mkrescue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c index 21e5ce4e4..ce2cbc4f1 100644 --- a/util/grub-mkrescue.c +++ b/util/grub-mkrescue.c @@ -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");