diff options
author | Eugeny N Dzhurinsky <bofh@office.redwerk.com> | 2009-07-22 13:40:19 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-22 13:40:19 +0200 |
commit | bdb1965b506ee97e7e8a07253e29c2f4cc3d6bf6 (patch) | |
tree | 074d7dc3f9e946fa4587ef72788de6878bc257d1 /src/main.c | |
parent | c9d43b4d713d508b6f5b67cfffba9296f9436934 (diff) | |
download | mpd-bdb1965b506ee97e7e8a07253e29c2f4cc3d6bf6.tar.gz mpd-bdb1965b506ee97e7e8a07253e29c2f4cc3d6bf6.tar.xz mpd-bdb1965b506ee97e7e8a07253e29c2f4cc3d6bf6.zip |
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]
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 54b31c1f8..f7b3d2979 100644 --- a/src/main.c +++ b/src/main.c @@ -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(); |