diff options
Diffstat (limited to 'lib/libc/time/asctime.c')
-rw-r--r-- | lib/libc/time/asctime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/time/asctime.c b/lib/libc/time/asctime.c index 5e22f919b72..c691da59499 100644 --- a/lib/libc/time/asctime.c +++ b/lib/libc/time/asctime.c @@ -5,7 +5,7 @@ #if defined(LIBC_SCCS) && !defined(lint) && !defined(NOID) static char elsieid[] = "@(#)asctime.c 7.22"; -static char rcsid[] = "$OpenBSD: asctime.c,v 1.8 2004/10/18 22:33:43 millert Exp $"; +static char rcsid[] = "$OpenBSD: asctime.c,v 1.9 2004/10/28 19:44:11 dhartmei Exp $"; #endif /* LIBC_SCCS and not lint */ /*LINTLIBRARY*/ @@ -84,7 +84,7 @@ int bufsize; wn, mn, timeptr->tm_mday, timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec, - TM_YEAR_BASE + timeptr->tm_year); + year); if (len < bufsize) { return buf; } else { |