aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 070d134eef71..ac444ff01658 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -991,7 +991,7 @@ static noinline_for_stack
991char *pointer(const char *fmt, char *buf, char *end, void *ptr, 991char *pointer(const char *fmt, char *buf, char *end, void *ptr,
992 struct printf_spec spec) 992 struct printf_spec spec)
993{ 993{
994 if (!ptr) { 994 if (!ptr && *fmt != 'K') {
995 /* 995 /*
996 * Print (null) with the same width as a pointer so it makes 996 * Print (null) with the same width as a pointer so it makes
997 * tabular output look nice. 997 * tabular output look nice.