From: root Date: Sun, 7 Jul 1996 22:38:57 +0000 (+0000) Subject: print architecture name if architecture error X-Git-Tag: rpm-4.4-release~4996 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d5274833811ae749e76a9690039b670faa9d494;p=platform%2Fupstream%2Frpm.git print architecture name if architecture error CVS patchset: 739 CVS date: 1996/07/07 22:38:57 --- diff --git a/lib/install.c b/lib/install.c index e66de56..219e192 100644 --- a/lib/install.c +++ b/lib/install.c @@ -161,7 +161,7 @@ int rpmInstallPackage(char * prefix, rpmdb db, int fd, int flags, /* new arch handling */ if (!rpmArchScore(pkgArch)) { error(RPMERR_BADARCH, "package %s-%s-%s is for a different " - "architecture", name, version, release); + "architecture (%s)", name, version, release, pkgArch); freeHeader(h); return 2; }