From 76dada465bcc00222bf38812b0376e0225762e4b Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Fri, 13 Jul 2001 15:07:06 +0000 Subject: Print the month number properly MFC after: 1 week --- libexec/talkd/announce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec') diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c index aec851f1c3e3..eb88a446c273 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]); -- cgit v1.3