summaryrefslogtreecommitdiff
path: root/Kernel/Thread.cpp
diff options
context:
space:
mode:
authorSahan Fernando <sahan.h.fernando@gmail.com>2021-01-12 01:35:55 +1100
committerAndreas Kling <kling@serenityos.org>2021-01-11 21:06:32 +0100
commit9bf76a85c8bc41cef8438295042aba991ec42f90 (patch)
tree5201bca8ed9ea0690b82d9548840ce1efbd3ae98 /Kernel/Thread.cpp
parentfe2b8906d47ce2ca95dcd7d374022c43a3e57197 (diff)
downloadserenity-9bf76a85c8bc41cef8438295042aba991ec42f90.zip
Everywhere: Fix incorrect uses of String::format and StringBuilder::appendf
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
Diffstat (limited to 'Kernel/Thread.cpp')
-rw-r--r--Kernel/Thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp
index 9ba54f4ef5..bf5922db44 100644
--- a/Kernel/Thread.cpp
+++ b/Kernel/Thread.cpp
@@ -805,7 +805,7 @@ DispatchSignalResult Thread::dispatch_signal(u8 signal)
u32 ret_eflags = state.eflags;
#ifdef SIGNAL_DEBUG
- klog() << "signal: setting up user stack to return to eip: " << String::format("%p", ret_eip) << " esp: " << String::format("%p", old_esp);
+ klog() << "signal: setting up user stack to return to eip: " << String::format("%p", (void*)ret_eip) << " esp: " << String::format("%p", (void*)old_esp);
#endif
// Align the stack to 16 bytes.