diff --git a/usr.sbin/daemon/daemon.c b/usr.sbin/daemon/daemon.c index 1534011233a2..43c6f8ca4f85 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;