summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-09-17 20:40:41 +0000
committerjbj <devnull@localhost>1999-09-17 20:40:41 +0000
commitb8d3c0d56a77ca1131a74560413a0e8a16704f4f (patch)
tree01eff96646b6c3c1d23f3e140f7a9df176230f31 /rpmio
parentb226bc53d0074ed9eadc979abcda1adb75fd7ff3 (diff)
downloadrpm-b8d3c0d56a77ca1131a74560413a0e8a16704f4f.tar.gz
rpm-b8d3c0d56a77ca1131a74560413a0e8a16704f4f.tar.bz2
rpm-b8d3c0d56a77ca1131a74560413a0e8a16704f4f.zip
lclint annotations.
CVS patchset: 3288 CVS date: 1999/09/17 20:40:41
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/messages.c8
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;
}
}