diff --git a/sent.c b/sent.c index d6c2c0b..6b22e61 100644 --- a/sent.c +++ b/sent.c @@ -376,15 +376,9 @@ void die(const char *fmt, ...) va_list ap; va_start(ap, fmt); - vfprintf(stderr, fmt, ap); + eprintf(fmt, ap); va_end(ap); - if (fmt[0] != '\0' && fmt[strlen(fmt)-1] == ':') { - fputc(' ', stderr); - perror(NULL); - } else { - fputc('\n', stderr); - } exit(1); }