summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-05-12 10:43:45 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-05-12 10:43:45 +0000
commitdd60b1e887b7438ec7576119dd6fe4dd8a87b33c (patch)
tree833b1e3924b0e00509a0f18f1fd03ca00de10a57
parente0d18430d232572b8be74200c89e41691fe92e7a (diff)
tzset
-rw-r--r--usr.sbin/mopd/mopd/mopd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/mopd/mopd/mopd.c b/usr.sbin/mopd/mopd/mopd.c
index 35e5e58b828..467c030e393 100644
--- a/usr.sbin/mopd/mopd/mopd.c
+++ b/usr.sbin/mopd/mopd/mopd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mopd.c,v 1.11 2004/04/15 21:42:53 henning Exp $ */
+/* $OpenBSD: mopd.c,v 1.12 2004/05/12 10:43:44 henning Exp $ */
/*
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
@@ -26,7 +26,7 @@
#ifndef LINT
static const char rcsid[] =
- "$OpenBSD: mopd.c,v 1.11 2004/04/15 21:42:53 henning Exp $";
+ "$OpenBSD: mopd.c,v 1.12 2004/05/12 10:43:44 henning Exp $";
#endif
/*
@@ -118,6 +118,7 @@ main(int argc, char *argv[])
/* All error reporting is done through syslogs. */
openlog(__progname, LOG_PID | LOG_CONS, LOG_DAEMON);
+ tzset();
if ((pw = getpwnam("_mopd")) == NULL)
err(1, "getpwnam");