From 8625f089bfc070c6cef127738c391d7ef674af5a Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 30 May 2021 19:22:54 +0100 Subject: [PATCH] Debugger: Replace printf() with outln() --- Userland/Applications/Debugger/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Applications/Debugger/main.cpp b/Userland/Applications/Debugger/main.cpp index 3dc881d842..69c72809b0 100644 --- a/Userland/Applications/Debugger/main.cpp +++ b/Userland/Applications/Debugger/main.cpp @@ -171,10 +171,10 @@ static bool handle_examine_command(const String& command) u32 address = strtoul(argument.characters() + 2, nullptr, 16); auto res = g_debug_session->peek((u32*)address); if (!res.has_value()) { - printf("could not examine memory at address 0x%x\n", address); + outln("Could not examine memory at address {:p}", address); return true; } - printf("0x%x\n", res.value()); + outln("{:#x}", res.value()); return true; }