print architecture name if architecture error
authorroot <devnull@localhost>
Sun, 7 Jul 1996 22:38:57 +0000 (22:38 +0000)
committerroot <devnull@localhost>
Sun, 7 Jul 1996 22:38:57 +0000 (22:38 +0000)
CVS patchset: 739
CVS date: 1996/07/07 22:38:57

lib/install.c

index e66de56..219e192 100644 (file)
@@ -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;
            }