summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-10-09 14:49:02 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-10-09 14:49:02 +0300
commitc52905d33460c020f8f1b33da47c06a8a2cb513f (patch)
tree61d7dcdb8cb727dd21a6d82fe68f6ab6a75a9872 /tools
parent9d9aa852ca724e4c7671cec249189f7dfef5ed8e (diff)
downloadrpm-c52905d33460c020f8f1b33da47c06a8a2cb513f.tar.gz
rpm-c52905d33460c020f8f1b33da47c06a8a2cb513f.tar.bz2
rpm-c52905d33460c020f8f1b33da47c06a8a2cb513f.zip
Replace all uses of RPMMESS_ERROR with RPMLOG_ERR
Diffstat (limited to 'tools')
-rw-r--r--tools/rpmgraph.c4
-rw-r--r--tools/rpmsort.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/rpmgraph.c b/tools/rpmgraph.c
index c9b4ff3c8..6f28c6337 100644
--- a/tools/rpmgraph.c
+++ b/tools/rpmgraph.c
@@ -136,7 +136,7 @@ restart:
switch (rpmrc) {
case RPMRC_FAIL:
default:
- rpmlog(RPMMESS_ERROR, _("%s cannot be installed\n"), *fnp);
+ rpmlog(RPMLOG_ERR, _("%s cannot be installed\n"), *fnp);
numFailed++; *fnp = NULL;
break;
case RPMRC_OK:
@@ -191,7 +191,7 @@ maybe_manifest:
}
ps = rpmtsProblems(ts);
if (rpmpsNumProblems(ps) > 0) {
- rpmlog(RPMMESS_ERROR, _("Failed dependencies:\n"));
+ rpmlog(RPMLOG_ERR, _("Failed dependencies:\n"));
rpmpsPrint(NULL, ps);
numFailed += numPkgs;
diff --git a/tools/rpmsort.c b/tools/rpmsort.c
index a58076b30..d12a21635 100644
--- a/tools/rpmsort.c
+++ b/tools/rpmsort.c
@@ -70,7 +70,7 @@ do_tsort(const char *fileArgv[])
rc = rpmtsOpenDB(ts, O_RDONLY);
if (rc) {
- rpmlog(RPMMESS_ERROR, _("cannot open Packages database\n"));
+ rpmlog(RPMLOG_ERR, _("cannot open Packages database\n"));
rc = -1;
goto exit;
}
@@ -86,7 +86,7 @@ do_tsort(const char *fileArgv[])
rc = rpmdbOpen(rootdir, &avdb, O_RDONLY, 0644);
delMacro(NULL, "_dbpath");
if (rc) {
- rpmlog(RPMMESS_ERROR, _("cannot open Available database\n"));
+ rpmlog(RPMLOG_ERR, _("cannot open Available database\n"));
goto endavail;
}
mi = rpmdbInitIterator(avdb, RPMDBI_PACKAGES, NULL, 0);
@@ -172,7 +172,7 @@ restart:
}
if (rc != RPMRC_NOTFOUND) {
- rpmlog(RPMMESS_ERROR, _("%s cannot be installed\n"), *fnp);
+ rpmlog(RPMLOG_ERR, _("%s cannot be installed\n"), *fnp);
numFailed++; *fnp = NULL;
break;
}
@@ -213,7 +213,7 @@ restart:
ps = rpmtsProblems(ts);
if (ps) {
- rpmlog(RPMMESS_ERROR, _("Failed dependencies:\n"));
+ rpmlog(RPMLOG_ERR, _("Failed dependencies:\n"));
rpmpsPrint(NULL, ps);
ps = rpmpsFree(ps);
rc = -1;