diff --git a/usr.sbin/powerd/powerd.c b/usr.sbin/powerd/powerd.c index 90b89da1c9e4..e866d0730438 100644 --- a/usr.sbin/powerd/powerd.c +++ b/usr.sbin/powerd/powerd.c @@ -256,7 +256,7 @@ usage(void) int main(int argc, char * argv[]) { - struct pidfh *pfh; + struct pidfh *pfh = NULL; const char *pidfile = NULL; long idle, total; int curfreq, *freqs, i, *mwatts, numfreqs;