From: ewt Date: Wed, 10 Jul 1996 02:33:11 +0000 (+0000) Subject: cleaned up some misleading error messages X-Git-Tag: rpm-4.4-release~4979 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b59685851409130542fc370080483168959b9fd0;p=platform%2Fupstream%2Frpm.git cleaned up some misleading error messages CVS patchset: 756 CVS date: 1996/07/10 02:33:11 --- diff --git a/lib/header.c b/lib/header.c index e802e1a..86fc7a7 100644 --- a/lib/header.c +++ b/lib/header.c @@ -121,7 +121,7 @@ int nextIterator(HeaderIterator iter, } break; default: - fprintf(stderr, "Data type %d not supprted\n", (int) *type); + fprintf(stderr, "Data type %d not supported\n", (int) *type); exit(1); } @@ -815,7 +815,7 @@ int addEntry(Header h, int_32 tag, int_32 type, void *p, int_32 c) } /* Otherwise fall through to STRING_ARRAY_TYPE */ /* This should not be allowed */ - fprintf(stderr, "addEntry() STRING_TYPE count must be 0.\n"); + fprintf(stderr, "addEntry() STRING_TYPE count must be 1.\n"); exit(1); case STRING_ARRAY_TYPE: /* This is like STRING_TYPE, except it's *always* an array */