summaryrefslogtreecommitdiffstats
path: root/libebtc.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-11-09 21:20:39 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-11-09 21:20:39 +0000
commitd9a49df57a1a63aa141716c27c3bee31456aaf4e (patch)
treee1026c80421a52e84f2553f1c60ab3a4e029e812 /libebtc.c
parent6e3005a4ad55df3762f3d99c58ea19691ada8dce (diff)
send bug messages to stderr
Diffstat (limited to 'libebtc.c')
-rw-r--r--libebtc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libebtc.c b/libebtc.c
index f4a0dd3..a2801c7 100644
--- a/libebtc.c
+++ b/libebtc.c
@@ -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);
}