aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-05-03 23:19:15 +0000
committerSteve Price <steve@FreeBSD.org>1998-05-03 23:19:15 +0000
commit7c50fe7bb0436d9f8dbd5c5cad86a6341bdc5100 (patch)
tree16fc3936bec737ae68a329f4a34e0c42e5418bda /usr.bin
parentc52c933ddd1e8f93319bd95337ecda8402fc2a74 (diff)
Notes
Diffstat (limited to 'usr.bin')
-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 9dea4665fb2a..9c16bff57a1a 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);
}
/*