summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-05-30 19:22:54 +0100
committerLinus Groh <mail@linusgroh.de>2021-05-31 17:44:01 +0100
commit8625f089bfc070c6cef127738c391d7ef674af5a (patch)
treed978cc8cf97bfdba473615f690221b552672f205 /Userland/Applications
parent5e4876948776b876247259278da076f59277317f (diff)
downloadserenity-8625f089bfc070c6cef127738c391d7ef674af5a.zip
Debugger: Replace printf() with outln()
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/Debugger/main.cpp4
1 files 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;
}