From 32d9afb6220d9f723e6f7a171140785872e18024 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Mon, 10 Jul 2000 09:05:31 +0000 Subject: [PATCH] Don't call printf() with no format string. --- usr.bin/hexdump/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/hexdump/display.c b/usr.bin/hexdump/display.c index 2d3bdcbd964a..49d5f14da25d 100644 --- a/usr.bin/hexdump/display.c +++ b/usr.bin/hexdump/display.c @@ -106,7 +106,7 @@ display() (void)printf(pr->fmt, (quad_t)eaddress); break; case F_TEXT: - (void)printf(pr->fmt); + (void)printf("%s", pr->fmt); break; } }