summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/daemon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/daemon/daemon.c b/usr.sbin/daemon/daemon.c
index 1534011..43c6f8c 100644
--- a/usr.sbin/daemon/daemon.c
+++ b/usr.sbin/daemon/daemon.c
@@ -48,7 +48,7 @@ static void usage(void);
int
main(int argc, char *argv[])
{
- struct pidfh *pfh;
+ struct pidfh *pfh = NULL;
int ch, nochdir, noclose, errcode;
const char *pidfile, *user, *group;
pid_t otherpid;
OpenPOWER on IntegriCloud