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

PR:		6421
Submitted by:	phk
This commit is contained in:
Steve Price 1998-05-03 23:19:15 +00:00
parent c52c933ddd
commit 7c50fe7bb0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35658

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