Skip to contentSkip to conversation

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

PATCH In review Vincent Legoll 2 participants 3 messages Apr 27, 2019 – May 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix error message about the wrong command having failed: mformat instead of mcopy

---
 util/grub-mkrescue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-mkrescue.c +1 -1
index 21e5ce4e4..ce2cbc4f1 100644
@@ -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");
Signature · 1 line
2.19.1
#1 lore raw
Quoted 9 lines · Vincent Legoll
---
 util/grub-mkrescue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-mkrescue.c +0 -0
index 21e5ce4e4..ce2cbc4f1 100644

util/grub-mkrescue.c main (int argc, char *argv[]) · line 821

Quoted 8 lines
util/grub-mkrescue.c +1 -1
@@ -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");

May I add your SOB? If yes then Reviewed-by: Daniel Kiper <[email protected]>

Daniel

#2 lore raw

Hello,

Quoted 1 line

May I add your SOB? If yes then Reviewed-by: Daniel Kiper <[email protected]>

Yes, and sorry to have forgotten to add it

Signature · 1 line
Vincent Legoll