diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h index 907d03d77ac..59d4f5e3197 100644 --- a/AK/PrintfImplementation.h +++ b/AK/PrintfImplementation.h @@ -250,6 +250,9 @@ template if (*p == '%' && *(p + 1)) { one_more: ++p; + // FIXME: This is just a hack workaround to prevent choking on '.' specifiers + if (*p == '.') + goto one_more; if (*p == '-') { left_pad = true; if (*(p + 1)) @@ -356,8 +359,7 @@ template ret += print_hex(putch, bufptr, va_arg(ap, u32), *p == 'P', true, false, true, 8); break; default: - dbg() << "printf_internal: Unimplemented format specifier " << *p; - ASSERT_NOT_REACHED(); + dbg() << "printf_internal: Unimplemented format specifier " << *p << " (fmt: " << fmt << ")"; } } else { putch(bufptr, *p);