summaryrefslogtreecommitdiff
path: root/lib/rpmds.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-10-09 14:14:30 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-10-09 14:14:30 +0300
commit4ce9fc1a1725b883190de2c415842a342ed3dbe3 (patch)
tree5c74a7eddd01f7620bf83c2cfbce25af44f10966 /lib/rpmds.c
parentd709195c3a51522629443cddea042513f47c5ad3 (diff)
downloadlibrpm-tizen-4ce9fc1a1725b883190de2c415842a342ed3dbe3.tar.gz
librpm-tizen-4ce9fc1a1725b883190de2c415842a342ed3dbe3.tar.bz2
librpm-tizen-4ce9fc1a1725b883190de2c415842a342ed3dbe3.zip
Replace all rpmMessage() uses with rpmlog()
Diffstat (limited to 'lib/rpmds.c')
-rw-r--r--lib/rpmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rpmds.c b/lib/rpmds.c
index 18a6d7fb8..770284957 100644
--- a/lib/rpmds.c
+++ b/lib/rpmds.c
@@ -504,7 +504,7 @@ void rpmdsNotify(rpmds ds, const char * where, int rc)
if (!(ds->Type != NULL && ds->DNEVR != NULL))
return;
- rpmMessage(RPMMESS_DEBUG, "%9s: %-45s %-s %s\n", ds->Type,
+ rpmlog(RPMMESS_DEBUG, "%9s: %-45s %-s %s\n", ds->Type,
(!strcmp(ds->DNEVR, "cached") ? ds->DNEVR : ds->DNEVR+2),
(rc ? _("NO ") : _("YES")),
(where != NULL ? where : ""));
@@ -800,7 +800,7 @@ int rpmdsCompare(const rpmds A, const rpmds B)
else if (aE && *aE && atol(aE) > 0) {
if (!B->nopromote) {
int lvl = (_rpmds_unspecified_epoch_noise ? RPMMESS_WARNING : RPMMESS_DEBUG);
- rpmMessage(lvl, _("The \"B\" dependency needs an epoch (assuming same epoch as \"A\")\n\tA = \"%s\"\tB = \"%s\"\n"),
+ rpmlog(lvl, _("The \"B\" dependency needs an epoch (assuming same epoch as \"A\")\n\tA = \"%s\"\tB = \"%s\"\n"),
aDepend, bDepend);
sense = 0;
} else
@@ -831,7 +831,7 @@ int rpmdsCompare(const rpmds A, const rpmds B)
exit:
if (_noisy_range_comparison_debug_message)
- rpmMessage(RPMMESS_DEBUG, _(" %s A %s\tB %s\n"),
+ rpmlog(RPMMESS_DEBUG, _(" %s A %s\tB %s\n"),
(result ? _("YES") : _("NO ")), aDepend, bDepend);
aDepend = _free(aDepend);
bDepend = _free(bDepend);
@@ -853,7 +853,7 @@ void rpmdsProblem(rpmps ps, const char * pkgNEVR, const rpmds ds,
if (EVR == NULL) EVR = "?EVR?";
if (DNEVR == NULL) DNEVR = "? ?N? ?OP? ?EVR?";
- rpmMessage(RPMMESS_DEBUG, _("package %s has unsatisfied %s: %s\n"),
+ rpmlog(RPMMESS_DEBUG, _("package %s has unsatisfied %s: %s\n"),
pkgNEVR, ds->Type, DNEVR+2);
switch ((unsigned)DNEVR[0]) {