diff options
author | kris <kris@FreeBSD.org> | 2000-07-10 09:05:31 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-10 09:05:31 +0000 |
commit | 9ecdb01e436eca2df80d801c0f47ba042d9ad984 (patch) | |
tree | 5e5063dbe31be1038cd91e9e58736697cd002b19 /usr.bin/hexdump/display.c | |
parent | 90a7a5a6aed1354d9c423bc8869a0c153d3ec502 (diff) | |
download | FreeBSD-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.c | 2 |
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; } } |