summaryrefslogtreecommitdiff
path: root/build/build.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/build.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/build.c')
-rw-r--r--build/build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/build.c b/build/build.c
index abd631dab..01312a48e 100644
--- a/build/build.c
+++ b/build/build.c
@@ -215,7 +215,7 @@ fprintf(stderr, "*** addMacros\n");
buildCmd = rpmExpand(mCmd, " ", buildScript, NULL);
(void) poptParseArgvString(buildCmd, &argc, &argv);
- rpmMessage(RPMMESS_NORMAL, _("Executing(%s): %s\n"), name, buildCmd);
+ rpmlog(RPMMESS_NORMAL, _("Executing(%s): %s\n"), name, buildCmd);
if (!(child = fork())) {
errno = 0;
@@ -340,7 +340,7 @@ int buildSpec(rpmts ts, rpmSpec spec, int what, int test)
exit:
if (rc && rpmlogGetNrecs() > 0) {
- rpmMessage(RPMMESS_NORMAL, _("\n\nRPM build errors:\n"));
+ rpmlog(RPMMESS_NORMAL, _("\n\nRPM build errors:\n"));
rpmlogPrint(NULL);
}