summaryrefslogtreecommitdiff
path: root/build/rpmfc.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 /build/rpmfc.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 'build/rpmfc.c')
-rw-r--r--build/rpmfc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/build/rpmfc.c b/build/rpmfc.c
index 625913f4f..996f261db 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
@@ -113,7 +113,7 @@ static StringBuf getOutputFrom(const char * dir, ARGV_t argv,
(void) chdir(dir);
}
- rpmMessage(RPMMESS_DEBUG, _("\texecv(%s) pid %d\n"),
+ rpmlog(RPMMESS_DEBUG, _("\texecv(%s) pid %d\n"),
argv[0], (unsigned)getpid());
unsetenv("MALLOC_CHECK_");
@@ -206,7 +206,7 @@ top:
/* Collect status from prog */
reaped = waitpid(child, &status, 0);
- rpmMessage(RPMMESS_DEBUG, _("\twaitpid(%d) rc %d status %x\n"),
+ rpmlog(RPMMESS_DEBUG, _("\twaitpid(%d) rc %d status %x\n"),
(unsigned)child, (unsigned)reaped, status);
if (failNonZero && (!WIFEXITED(status) || WEXITSTATUS(status))) {
@@ -1292,7 +1292,7 @@ assert(ftype != NULL); /* XXX figger a proper return path. */
}
se = ftype;
- rpmMessage(RPMMESS_DEBUG, "%s: %s\n", s, se);
+ rpmlog(RPMMESS_DEBUG, "%s: %s\n", s, se);
/* Save the path. */
xx = argvAdd(&fc->fn, s);
@@ -1429,15 +1429,15 @@ static void printDeps(Header h)
if (!((Flags & dm->mask) ^ dm->xor))
continue;
if (bingo == 0) {
- rpmMessage(RPMMESS_NORMAL, "%s:", (dm->msg ? dm->msg : ""));
+ rpmlog(RPMMESS_NORMAL, "%s:", (dm->msg ? dm->msg : ""));
bingo = 1;
}
if ((DNEVR = rpmdsDNEVR(ds)) == NULL)
continue; /* XXX can't happen */
- rpmMessage(RPMMESS_NORMAL, " %s", DNEVR+2);
+ rpmlog(RPMMESS_NORMAL, " %s", DNEVR+2);
}
if (bingo)
- rpmMessage(RPMMESS_NORMAL, "\n");
+ rpmlog(RPMMESS_NORMAL, "\n");
}
ds = rpmdsFree(ds);
}
@@ -1493,7 +1493,7 @@ static int rpmfcGenerateDependsHelper(const rpmSpec spec, Package pkg, rpmfi fi)
continue;
s = rpmExpand(dm->argv[0], NULL);
- rpmMessage(RPMMESS_NORMAL, _("Finding %s: %s\n"), dm->msg,
+ rpmlog(RPMMESS_NORMAL, _("Finding %s: %s\n"), dm->msg,
(s ? s : ""));
s = _free(s);