summaryrefslogtreecommitdiff
path: root/usr.bin/last
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-07-10 06:02:13 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-07-10 06:02:13 +0000
commit612740bdcf428625dce46ea9f505762c85b3cf94 (patch)
treea1fcfea7985df2827798a4492d4010ed25f21208 /usr.bin/last
parent26eaf5dcb813f4e4299c3a226a2f0266f0ddb704 (diff)
Notes
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 c87f6962075a..5efd9e829ca5 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);
}
/*