cmdline: renamed options.stderr to options.log_stderr
On FreeBSD, "stderr" is a macro, and using this name for a struct member breaks the build. [mk: renamed _stderr to log_stderr]
This commit is contained in:
committed by
Max Kellermann
parent
c9d43b4d71
commit
bdb1965b50
@@ -307,7 +307,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
stats_global_init();
|
||||
tag_lib_init();
|
||||
log_init(options.verbose, options.stderr);
|
||||
log_init(options.verbose, options.log_stderr);
|
||||
|
||||
listen_global_init();
|
||||
|
||||
@@ -347,7 +347,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
daemonize(options.daemon);
|
||||
|
||||
setup_log_output(options.stderr);
|
||||
setup_log_output(options.log_stderr);
|
||||
|
||||
initSigHandlers();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user