Add the year to the 'wtmp begins...' line.

PR:		6421
Submitted by:	phk
This commit is contained in:
steve 1998-05-03 23:19:15 +00:00
parent 0db69331c5
commit a0bf7cf6b6

View File

@ -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);
}
/*