1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00

fix an alignment error in the Queue column label of atq(1) introduced on

September 9th, 2001 when the Unix epoch exceeded one billion; another
column alignment will be needed once the Unix epoch exceeds ten billions,
but it will not happen until November 20th, 2286.

ok miod@, sthen@, and millert@
This commit is contained in:
sobrado 2024-11-05 16:26:01 +00:00
parent 31d2e16dd3
commit 5f14077f59

View File

@ -1,4 +1,4 @@
/* $OpenBSD: at.c,v 1.84 2023/03/08 04:43:10 guenther Exp $ */
/* $OpenBSD: at.c,v 1.85 2024/11/05 16:26:01 sobrado Exp $ */
/*
* at.c : Put file into atrun queue
@ -580,7 +580,7 @@ list_jobs(int argc, char **argv, int count_only, int csort)
if (!shortformat)
(void)puts(" Rank Execution Date Owner "
"Job Queue");
"Job Queue");
for (i = 0; i < numjobs; i++) {
print_job(atjobs[i], i + 1, shortformat);