aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paepcke <git@paepcke.de>2023-07-27 08:28:50 +0000
committerEd Maste <emaste@FreeBSD.org>2023-09-22 14:59:45 +0000
commit6f4ce7e89ba4fa52566704533920352aa65c7f9b (patch)
tree287d7253665f21082af76b8a4320041dd8bdad89
parent4bdf7f695184fb4312462ad475f3302c9da40f13 (diff)
-rw-r--r--usr.bin/lastcomm/lastcomm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lastcomm/lastcomm.c b/usr.bin/lastcomm/lastcomm.c
index bcd84b2ed37a..b97755e7bb03 100644
--- a/usr.bin/lastcomm/lastcomm.c
+++ b/usr.bin/lastcomm/lastcomm.c
@@ -191,7 +191,7 @@ main(int argc, char *argv[])
localtime(&ab.ac_btime));
(void)printf(" %s", buf);
} else
- (void)printf(" %.16s", ctime(&ab.ac_btime));
+ (void)printf(" %.19s", ctime(&ab.ac_btime));
}
/* exit time (starting time + elapsed time )*/
@@ -203,7 +203,7 @@ main(int argc, char *argv[])
localtime(&t));
(void)printf(" %s", buf);
} else
- (void)printf(" %.16s", ctime(&t));
+ (void)printf(" %.19s", ctime(&t));
}
printf("\n");
}