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/last | |
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/last')
-rw-r--r-- | usr.bin/last/last.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c index c87f696..5efd9e8 100644 --- a/usr.bin/last/last.c +++ b/usr.bin/last/last.c @@ -323,7 +323,7 @@ wtmp() } tm = localtime(&buf[0].ut_time); (void) strftime(ct, sizeof(ct), "\nwtmp begins %c\n", tm); - printf(ct); + printf("%s", ct); } /* |