summaryrefslogtreecommitdiffstats
path: root/usr.bin/last
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-10 06:02:13 +0000
committerkris <kris@FreeBSD.org>2000-07-10 06:02:13 +0000
commit805d9e79e252a1d071126356dbfbd20dbf975720 (patch)
treefd9dd3a7c75361992326b0b703d1fadb4323a1b4 /usr.bin/last
parent5fae984c0b76ef257587262bbd9a1e912212b1c0 (diff)
downloadFreeBSD-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.c2
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);
}
/*
OpenPOWER on IntegriCloud