summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/last/last.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c
index 9dea466..9c16bff 100644
--- a/usr.bin/last/last.c
+++ b/usr.bin/last/last.c
@@ -298,8 +298,8 @@ wtmp()
}
}
tm = localtime(&buf[0].ut_time);
- (void) strftime(ct, sizeof(ct), "%c", tm);
- printf("\nwtmp begins %10.10s %5.5s \n", ct, ct + 11);
+ (void) strftime(ct, sizeof(ct), "\nwtmp begins %c\n", tm);
+ printf(ct);
}
/*
OpenPOWER on IntegriCloud