Skip to content

Commit

Permalink
fix openlog first param.
Browse files Browse the repository at this point in the history
  • Loading branch information
荒野無燈 authored and liudf0716 committed May 16, 2017
1 parent 6c5eced commit 2d556ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ _debug(const char *filename, int line, int level, const char *format, ...)
}

if (debugconf.log_syslog) {
openlog("wifidog", LOG_PID, debugconf.syslog_facility);
openlog("xkcptun", LOG_PID, debugconf.syslog_facility);
va_start(vlist, format);
vsyslog(level, format, vlist);
va_end(vlist);
Expand Down

0 comments on commit 2d556ac

Please sign in to comment.