diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-10-09 14:54:28 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-10-09 14:54:28 +0300 |
commit | b21bf6018e915de2348e10d52c3576d1e4b5eae9 (patch) | |
tree | e8bcbf62dabf70932334c6f81173a81afe8f51c1 /lib | |
parent | 832580670ac00f1de425960cf15261b784388077 (diff) | |
download | librpm-tizen-b21bf6018e915de2348e10d52c3576d1e4b5eae9.tar.gz librpm-tizen-b21bf6018e915de2348e10d52c3576d1e4b5eae9.tar.bz2 librpm-tizen-b21bf6018e915de2348e10d52c3576d1e4b5eae9.zip |
Replace all uses of RPMMESS_FATALERROR with RPMLOG_CRIT
Diffstat (limited to 'lib')
-rw-r--r-- | lib/transaction.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/transaction.c b/lib/transaction.c index 02d2ea52d..ceb891d47 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -1179,7 +1179,7 @@ static rpmRC _rpmtsAddRollbackElement(rpmts rollbackTransaction, db_instance = rpmteDBInstance(te); if (db_instance == 0) { /* Could not get the db instance: WTD! */ - rpmlog(RPMMESS_FATALERROR, + rpmlog(RPMLOG_CRIT, _("Could not get install element database instance!\n")); break; } @@ -1192,7 +1192,7 @@ static rpmRC _rpmtsAddRollbackElement(rpmts rollbackTransaction, mi = rpmdbFreeIterator(mi); if (h == NULL) { /* Header was not there??? */ - rpmlog(RPMMESS_FATALERROR, + rpmlog(RPMLOG_CRIT, _("Could not get header for auto-rollback transaction!\n")); break; } @@ -1222,7 +1222,7 @@ static rpmRC _rpmtsAddRollbackElement(rpmts rollbackTransaction, default: /* Not sure what to do on failure...just give up */ - rpmlog(RPMMESS_FATALERROR, + rpmlog(RPMLOG_CRIT, _("Could not get repackaged header for auto-rollback transaction!\n")); break; } @@ -1262,7 +1262,7 @@ static rpmRC _rpmtsAddRollbackElement(rpmts rollbackTransaction, rc = rpmtsAddInstallElement(rollbackTransaction, rph, (fnpyKey) rpn, 1, te->relocs); if (rc != RPMRC_OK) - rpmlog(RPMMESS_FATALERROR, + rpmlog(RPMLOG_CRIT, _("Could not add erase element to auto-rollback transaction.\n")); break; @@ -1274,7 +1274,7 @@ static rpmRC _rpmtsAddRollbackElement(rpmts rollbackTransaction, break; default: - rpmlog(RPMMESS_FATALERROR, + rpmlog(RPMLOG_CRIT, _("Failure reading repackaged package!\n")); break; } |