diff options
author | kris <kris@FreeBSD.org> | 2000-07-10 06:02:13 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-10 06:02:13 +0000 |
commit | 805d9e79e252a1d071126356dbfbd20dbf975720 (patch) | |
tree | fd9dd3a7c75361992326b0b703d1fadb4323a1b4 /usr.bin/jot | |
parent | 5fae984c0b76ef257587262bbd9a1e912212b1c0 (diff) | |
download | FreeBSD-src-805d9e79e252a1d071126356dbfbd20dbf975720.zip FreeBSD-src-805d9e79e252a1d071126356dbfbd20dbf975720.tar.gz |
Don't call printf with no format string.
Diffstat (limited to 'usr.bin/jot')
-rw-r--r-- | usr.bin/jot/jot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c index a15b83f..e415aba 100644 --- a/usr.bin/jot/jot.c +++ b/usr.bin/jot/jot.c @@ -315,7 +315,7 @@ putdata(x, notlast) { if (boring) - printf(format); + printf("%s", format); else if (longdata && nosign) { if (x <= (double)ULONG_MAX && x >= (double)0) printf(format, (unsigned long)x); |