From 9bf76a85c8bc41cef8438295042aba991ec42f90 Mon Sep 17 00:00:00 2001 From: Sahan Fernando Date: Tue, 12 Jan 2021 01:35:55 +1100 Subject: 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. --- Kernel/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Thread.cpp') 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. -- cgit v1.2.3