Fix from John Kohl:
/usr/libexec/getty doesn't properly interpret the '%d' escape. It tries to use %P to get AM or PM, but instead all it gets is "P". Submitted by: John Kohl
This commit is contained in:
parent
f3932b979d
commit
802265809c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2845
@ -458,7 +458,7 @@ putf(cp)
|
||||
break;
|
||||
|
||||
case 'd': {
|
||||
static char fmt[] = "%l:% %P on %A, %d %B %Y";
|
||||
static char fmt[] = "%l:% %p on %A, %d %B %Y";
|
||||
|
||||
fmt[4] = 'M'; /* I *hate* SCCS... */
|
||||
(void)time(&t);
|
||||
|
Loading…
Reference in New Issue
Block a user