summaryrefslogtreecommitdiffstats
path: root/libebtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libebtc.c')
-rw-r--r--libebtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libebtc.c b/libebtc.c
index 2feefe9..af95694 100644
--- a/libebtc.c
+++ b/libebtc.c
@@ -1272,8 +1272,8 @@ void __ebt_print_error(char *format, ...)
vsnprintf(ebt_errormsg, ERRORMSG_MAXLEN, format, l);
va_end(l);
} else {
- vprintf(format, l);
- printf(".\n");
+ vfprintf(stderr, format, l);
+ fprintf(stderr, ".\n");
va_end(l);
exit (-1);
}