diff options
author | brian <brian@FreeBSD.org> | 2001-07-13 15:07:06 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-07-13 15:07:06 +0000 |
commit | 785c88c05637824537f6ad6fb9020923b4264703 (patch) | |
tree | b3a9b7031fff6dd8c2790d600a7100232ce92c93 /libexec | |
parent | 948453970e588ce0752772fa3a37b099b55001e3 (diff) | |
download | FreeBSD-src-785c88c05637824537f6ad6fb9020923b4264703.zip FreeBSD-src-785c88c05637824537f6ad6fb9020923b4264703.tar.gz |
Print the month number properly
MFC after: 1 week
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/talkd/announce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c index aec851f..eb88a44 100644 --- a/libexec/talkd/announce.c +++ b/libexec/talkd/announce.c @@ -127,7 +127,7 @@ print_mesg(tty, tf, request, remote_machine) (void)snprintf(line_buf[i], N_CHARS, "Message from Talk_Daemon@%s at %d:%02d on %d/%.2d/%.2d ...", hostname, localclock->tm_hour , localclock->tm_min, - localclock->tm_year + 1900, localclock->tm_mon, + localclock->tm_year + 1900, localclock->tm_mon + 1, localclock->tm_mday); sizes[i] = strlen(line_buf[i]); max_size = max(max_size, sizes[i]); |