summaryrefslogtreecommitdiffstats
path: root/usr.bin/hexdump
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-10 09:07:04 +0000
committerkris <kris@FreeBSD.org>2000-07-10 09:07:04 +0000
commitd84b4d3f4d875bdc29e1af239bfea2dadaff8f85 (patch)
treede9faee9d10956d7c7b8d7fdb924c9f6d1443e35 /usr.bin/hexdump
parent9ecdb01e436eca2df80d801c0f47ba042d9ad984 (diff)
downloadFreeBSD-src-d84b4d3f4d875bdc29e1af239bfea2dadaff8f85.zip
FreeBSD-src-d84b4d3f4d875bdc29e1af239bfea2dadaff8f85.tar.gz
Oops, missed another printf() invocation with no format string.
Diffstat (limited to 'usr.bin/hexdump')
-rw-r--r--usr.bin/hexdump/display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/hexdump/display.c b/usr.bin/hexdump/display.c
index 49d5f14..982e611 100644
--- a/usr.bin/hexdump/display.c
+++ b/usr.bin/hexdump/display.c
@@ -177,7 +177,7 @@ print(pr, bp)
(void)printf(pr->fmt, (char *)bp);
break;
case F_TEXT:
- (void)printf(pr->fmt);
+ (void)printf("%s", pr->fmt);
break;
case F_U:
conv_u(pr, bp);
OpenPOWER on IntegriCloud