diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-12-24 13:51:12 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-12-24 13:51:12 +0000 |
commit | 9884badf87d34f230aa0f8d80ab4860aafe589d5 (patch) | |
tree | 486966b7985cb77f0a97262ea1bb37c9afcdae5b /src/main.c | |
parent | fb17dccd91ba9448c2adaca2dcf0f9d665e1e8a4 (diff) | |
download | conntrack-tools-9884badf87d34f230aa0f8d80ab4860aafe589d5.tar.gz conntrack-tools-9884badf87d34f230aa0f8d80ab4860aafe589d5.zip |
show error and warning messages to stderr
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -248,7 +248,7 @@ int main(int argc, char *argv[]) */ STATE(log) = init_log(CONFIG(logfile)); if (config_set && !STATE(log)) { - fprintf(stdout, "can't open logfile `%s\n'", CONFIG(logfile)); + fprintf(stderr, "can't open logfile `%s\n'", CONFIG(logfile)); exit(EXIT_FAILURE); } |