diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-02-09 12:09:31 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-02-09 12:09:31 +0000 |
commit | 6826c92ef9ded7937bcb1e2230c511756d1649d4 (patch) | |
tree | eb74126fda01e9770716d1ca718efb4df553d32f | |
parent | a8db3388b01c0d10010eba5a9c20a36ac726ffdc (diff) |
missing tzset(), noticed by Chris Kuethe <chris.kuethe@gmail.com>
-rw-r--r-- | sbin/pflogd/pflogd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pflogd/pflogd.c b/sbin/pflogd/pflogd.c index 06fde149cfd..cc474e3c55f 100644 --- a/sbin/pflogd/pflogd.c +++ b/sbin/pflogd/pflogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pflogd.c,v 1.32 2005/01/08 18:51:18 canacar Exp $ */ +/* $OpenBSD: pflogd.c,v 1.33 2005/02/09 12:09:30 henning Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -554,6 +554,7 @@ main(int argc, char **argv) pidfile(NULL); } + tzset(); (void)umask(S_IRWXG | S_IRWXO); /* filter will be used by the privileged process */ |