diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 57fb25ce596b..e1807761ee1d 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -1,4 +1,4 @@ -/* $NetBSD: syslogd.c,v 1.89 2008/11/03 22:59:51 christos Exp $ */ +/* $NetBSD: syslogd.c,v 1.90 2008/11/04 10:01:56 blymn Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1988, 1993, 1994\ #if 0 static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94"; #else -__RCSID("$NetBSD: syslogd.c,v 1.89 2008/11/03 22:59:51 christos Exp $"); +__RCSID("$NetBSD: syslogd.c,v 1.90 2008/11/04 10:01:56 blymn Exp $"); #endif #endif /* not lint */ @@ -388,6 +388,7 @@ main(int argc, char *argv[]) usage(); setlinebuf(stdout); + tzset(); /* init TZ information for localtime. */ if (user != NULL) { if (isdigit((unsigned char)*user)) {