summaryrefslogtreecommitdiff
path: root/AK/printf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/printf.cpp')
-rw-r--r--AK/printf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/printf.cpp b/AK/printf.cpp
index 31803c9796..68d29e5dc6 100644
--- a/AK/printf.cpp
+++ b/AK/printf.cpp
@@ -248,10 +248,12 @@ one_more:
ret += print_hex(putch, bufptr, va_arg(ap, qword), 16);
break;
+#ifndef KERNEL
case 'f':
// FIXME: Print as float!
ret += print_number(putch, bufptr, (int)va_arg(ap, double), leftPad, zeroPad, fieldWidth);
break;
+#endif
case 'o':
if (alternate_form) {