summaryrefslogtreecommitdiffstats
path: root/usr.bin/last/last.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/last/last.c')
-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