diff --git a/usr.bin/logger/logger.c b/usr.bin/logger/logger.c index b881636e0c0f..eddc2b3271ee 100644 --- a/usr.bin/logger/logger.c +++ b/usr.bin/logger/logger.c @@ -99,6 +99,7 @@ main(int argc, char *argv[]) host = NULL; svcname = "syslog"; src = NULL; + socks = NULL; pri = LOG_USER | LOG_NOTICE; logflags = 0; unsetenv("TZ");