diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-10-09 15:06:39 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-10-09 15:06:39 +0300 |
commit | 8b4b6eeb47c00d072b159e9dc84cd2a2a8f72868 (patch) | |
tree | 03957a04b01f48fce5c488b8771e7beed5dcf084 /tools | |
parent | 275835643bf84cace7a8e506f6d3f76fd618c73c (diff) | |
download | rpm-8b4b6eeb47c00d072b159e9dc84cd2a2a8f72868.tar.gz rpm-8b4b6eeb47c00d072b159e9dc84cd2a2a8f72868.tar.bz2 rpm-8b4b6eeb47c00d072b159e9dc84cd2a2a8f72868.zip |
Oops, one missed rpmError() user..
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rpmsort.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/rpmsort.c b/tools/rpmsort.c index d12a21635..cb7c67bd6 100644 --- a/tools/rpmsort.c +++ b/tools/rpmsort.c @@ -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); |