summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
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
commit9884badf87d34f230aa0f8d80ab4860aafe589d5 (patch)
tree486966b7985cb77f0a97262ea1bb37c9afcdae5b /src/main.c
parentfb17dccd91ba9448c2adaca2dcf0f9d665e1e8a4 (diff)
downloadconntrack-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a3164a6..3a54911 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);
}