diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2005-11-09 21:20:39 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2005-11-09 21:20:39 +0000 |
commit | d9a49df57a1a63aa141716c27c3bee31456aaf4e (patch) | |
tree | e1026c80421a52e84f2553f1c60ab3a4e029e812 /libebtc.c | |
parent | 6e3005a4ad55df3762f3d99c58ea19691ada8dce (diff) | |
download | ebtables-d9a49df57a1a63aa141716c27c3bee31456aaf4e.tar.gz |
send bug messages to stderr
Diffstat (limited to 'libebtc.c')
-rw-r--r-- | libebtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1241,9 +1241,9 @@ void __ebt_print_bug(char *file, int line, char *format, ...) va_list l; va_start(l, format); - printf(PROGNAME" v"PROGVERSION":%s:%d:--BUG--: \n", file, line); - vprintf(format, l); - printf("\n"); + fprintf(stderr, PROGNAME" v"PROGVERSION":%s:%d:--BUG--: \n", file, line); + vfprintf(stderr, format, l); + fprintf(stderr, "\n"); va_end(l); exit (-1); } |