diff options
author | dg <dg@FreeBSD.org> | 1994-09-18 04:14:54 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-09-18 04:14:54 +0000 |
commit | 8d2ab06cf5c4db438df84df9409b348869192508 (patch) | |
tree | 6596ec3e0291c14c42d664c2d29194aeee8023b1 /libexec/getty/main.c | |
parent | d7b47a496164bd3580e10be65c2836b28339fd5a (diff) | |
download | FreeBSD-src-8d2ab06cf5c4db438df84df9409b348869192508.zip FreeBSD-src-8d2ab06cf5c4db438df84df9409b348869192508.tar.gz |
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
Diffstat (limited to 'libexec/getty/main.c')
-rw-r--r-- | libexec/getty/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c index 4e47a45..3a0336a 100644 --- a/libexec/getty/main.c +++ b/libexec/getty/main.c @@ -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); |