From 8e17869ac1d33ac0d816ba3b6b522bc863c9dbac Mon Sep 17 00:00:00 2001 From: João Paulo Rechi Vita Date: Tue, 9 Mar 2021 14:07:25 -0800 Subject: fallback: Only use VerbosePrint for debug messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This removes the last use of '#ifdef DEBUG_FALLBACK". Signed-off-by: João Paulo Rechi Vita --- fallback.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'fallback.c') diff --git a/fallback.c b/fallback.c index 1233bccc..e436d17a 100644 --- a/fallback.c +++ b/fallback.c @@ -276,13 +276,11 @@ add_boot_option(EFI_DEVICE_PATH *hddp, EFI_DEVICE_PATH *fulldp, } bootorder = newbootorder; nbootorder += 1; -#ifdef DEBUG_FALLBACK - console_print(L"nbootorder: %d\nBootOrder: ", + VerbosePrint(L"nbootorder: %d\nBootOrder: ", nbootorder); for (j = 0 ; j < nbootorder ; j++) - console_print(L"%04x ", bootorder[j]); - console_print(L"\n"); -#endif + VerbosePrintUnprefixed(L"%04x ", bootorder[j]); + VerbosePrintUnprefixed(L"\n"); return EFI_SUCCESS; } -- cgit v1.2.3