diff options
Diffstat (limited to 'src/libeinfo')
-rw-r--r-- | src/libeinfo/libeinfo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libeinfo/libeinfo.c b/src/libeinfo/libeinfo.c index aa49e0d0..a761c731 100644 --- a/src/libeinfo/libeinfo.c +++ b/src/libeinfo/libeinfo.c @@ -677,15 +677,14 @@ ewarn(const char *EINFO_RESTRICT fmt, ...) void ewarnx(const char *EINFO_RESTRICT fmt, ...) { - int retval; va_list ap; if (fmt && !is_quiet()) { va_start(ap, fmt); elogv(LOG_WARNING, fmt, ap); - retval = _ewarnvn(fmt, ap); + _ewarnvn(fmt, ap); va_end(ap); - retval += fprintf(stderr, "\n"); + fprintf(stderr, "\n"); } exit(EXIT_FAILURE); } |