summaryrefslogtreecommitdiff
path: root/lib/falloc.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-08-02 21:06:33 +0000
committerjbj <devnull@localhost>1999-08-02 21:06:33 +0000
commit795a39fe3f276c5821e68169898a43f9ddba5512 (patch)
tree8e706e57df9a39dc2802b43636da01ebde70c132 /lib/falloc.c
parentf692823a2d44734554b94ea900327616602d350d (diff)
downloadrpm-795a39fe3f276c5821e68169898a43f9ddba5512.tar.gz
rpm-795a39fe3f276c5821e68169898a43f9ddba5512.tar.bz2
rpm-795a39fe3f276c5821e68169898a43f9ddba5512.zip
More informative message for "free list corrupt".
CVS patchset: 3212 CVS date: 1999/08/02 21:06:33
Diffstat (limited to 'lib/falloc.c')
-rw-r--r--lib/falloc.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/falloc.c b/lib/falloc.c
index 56b16897f..80e47c8a8 100644
--- a/lib/falloc.c
+++ b/lib/falloc.c
@@ -146,8 +146,13 @@ unsigned int faAlloc(faFile fa, unsigned int size) { /* returns 0 on failure */
/* XXX W2DO? exit(1) forces the user to discover rpm --rebuilddb */
if (!header.isFree) {
- fprintf(stderr, _("free list corrupt (%u)- contact "
- "rpm-list@redhat.com\n"), nextFreeBlock);
+ fprintf(stderr, _("free list corrupt (%u)- please run\n"
+ "\t\"rpm --rebuilddb\"\n"
+ "More information is available from http://www.rpm.org "
+ "or the rpm-list@redhat.com mailing list\n"
+ "if \"rpm --rebuilddb\" fails to correct the problem.\n"),
+ nextFreeBlock);
+
exit(1);
}