diff options
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/messages.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmio/messages.c b/rpmio/messages.c index 342ea2bce..ee6f7c1ef 100644 --- a/rpmio/messages.c +++ b/rpmio/messages.c @@ -63,15 +63,15 @@ void rpmMessage(int level, const char * format, ...) { fprintf(stderr, _("fatal error: ")); vfprintf(stderr, format, args); fflush(stderr); - exit(1); - break; + exit(EXIT_FAILURE); + /*@unreached@*/ break; default: fprintf(stderr, _("internal error (rpm bug?): ")); vfprintf(stderr, format, args); fflush(stderr); - exit(1); - break; + exit(EXIT_FAILURE); + /*@unreached@*/ break; } } |