From: longpanda Date: Wed, 17 Mar 2021 14:17:51 +0000 (+0800) Subject: add debug info X-Git-Tag: v1.0.39~6 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/291e0a3a388a1fae2fa6283c298bd6e15b7a6298?ds=sidebyside add debug info --- diff --git a/GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c b/GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c index 0a9c2e5..2397630 100644 --- a/GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c +++ b/GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c @@ -1774,7 +1774,7 @@ int ventoy_check_device_result(int ret) grub_printf(VTOY_WARNING"\n"); grub_printf(VTOY_WARNING"\n\n\n"); - grub_printf("This is NOT a standard Ventoy device and is NOT supported.\n\n"); + grub_printf("This is NOT a standard Ventoy device and is NOT supported (0x%x).\n\n", ret); grub_printf("You should follow the instructions in https://www.ventoy.net to use Ventoy.\n"); grub_printf("\n\nWill exit after 10 seconds ...... ");