]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
add debug info
authorlongpanda <admin@ventoy.net>
Wed, 17 Mar 2021 14:17:51 +0000 (22:17 +0800)
committerlongpanda <admin@ventoy.net>
Wed, 17 Mar 2021 14:17:51 +0000 (22:17 +0800)
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c

index 0a9c2e53e463d9536d44cc136d08de996def156c..2397630db8cfbf3193ceac9615c81811d82b098b 100644 (file)
@@ -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 ...... ");