diff --git a/AK/printf.cpp b/AK/printf.cpp index 41c9c3dbb6..ccef0e6d67 100644 --- a/AK/printf.cpp +++ b/AK/printf.cpp @@ -267,6 +267,11 @@ one_more: ++ret; break; + case '%': + putch(bufptr, '%'); + ++ret; + break; + case 'p': putch(bufptr, '0'); putch(bufptr, 'x');