From bcd14de89f485a60acbd9d7b6ae9ab422c05dca5 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Mon, 10 Feb 2020 11:29:37 -0600 Subject: [PATCH] uefi: make debugging output more readable --- plugins/uefi/efi/fwup-debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/uefi/efi/fwup-debug.c b/plugins/uefi/efi/fwup-debug.c index bbb2d0198..6c568164e 100644 --- a/plugins/uefi/efi/fwup-debug.c +++ b/plugins/uefi/efi/fwup-debug.c @@ -58,12 +58,12 @@ fwup_log(FwupLogLevel level, const char *func, const char *file, const int line, if (debugging) { _cleanup_free CHAR16 *out1 = NULL; - out1 = PoolPrint(L"%a:%d:%a(): %s", file, line, func, tmp); + out1 = PoolPrint(L"%a:%d:%a(): %s\n", file, line, func, tmp); if (out1 == NULL) { Print(L"fwupdate: Allocation for debug log failed!\n"); return; } - Print(L"%s\n", out1); + Print(L"%s", out1); fwupd_debug_efivar_append(out1); } else { switch (level) {