Oops, one missed rpmError() user..
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Oct 2007 12:06:39 +0000 (15:06 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Oct 2007 12:06:39 +0000 (15:06 +0300)
tools/rpmsort.c

index d12a216..cb7c67b 100644 (file)
@@ -155,7 +155,7 @@ restart:
        /* Try to read the header from a package file. */
        fd = Fopen(*fnp, "r.ufdio");
        if (fd == NULL || Ferror(fd)) {
-           rpmError(RPMERR_OPEN, _("open of %s failed: %s\n"), *fnp,
+           rpmlog(RPMERR_OPEN, _("open of %s failed: %s\n"), *fnp,
                        Fstrerror(fd));
            if (fd) Fclose(fd);
            numFailed++; *fnp = NULL;
@@ -180,7 +180,7 @@ restart:
        /* Try to read a package manifest. */
        fd = Fopen(*fnp, "r.fpio");
        if (fd == NULL || Ferror(fd)) {
-           rpmError(RPMERR_OPEN, _("open of %s failed: %s\n"), *fnp,
+           rpmlog(RPMERR_OPEN, _("open of %s failed: %s\n"), *fnp,
                        Fstrerror(fd));
            if (fd) Fclose(fd);
            numFailed++; *fnp = NULL;
@@ -190,7 +190,7 @@ restart:
        /* Read list of packages from manifest. */
        rc = rpmReadPackageManifest(fd, &argc, &argv);
        if (rc)
-           rpmError(RPMERR_MANIFEST, _("%s: read manifest failed: %s\n"),
+           rpmlog(RPMERR_MANIFEST, _("%s: read manifest failed: %s\n"),
                        fileURL, Fstrerror(fd));
        Fclose(fd);