summaryrefslogtreecommitdiffstats
path: root/usr.bin/hexdump/display.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-10 09:05:31 +0000
committerkris <kris@FreeBSD.org>2000-07-10 09:05:31 +0000
commit9ecdb01e436eca2df80d801c0f47ba042d9ad984 (patch)
tree5e5063dbe31be1038cd91e9e58736697cd002b19 /usr.bin/hexdump/display.c
parent90a7a5a6aed1354d9c423bc8869a0c153d3ec502 (diff)
downloadFreeBSD-src-9ecdb01e436eca2df80d801c0f47ba042d9ad984.zip
FreeBSD-src-9ecdb01e436eca2df80d801c0f47ba042d9ad984.tar.gz
Don't call printf() with no format string.
Diffstat (limited to 'usr.bin/hexdump/display.c')
-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 2d3bdcb..49d5f14 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;
}
}
OpenPOWER on IntegriCloud