diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-11-19 16:25:24 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-11-19 16:25:24 +0200 |
commit | 43c5de66fb90cbc59dc23eb0774d66c66d34b37d (patch) | |
tree | 1e43219542c3ce060b4ce3c430a38aed45a62767 /rpmdb/db3.c | |
parent | db4e34966ed9d52a920ab1b135309e6e21f12473 (diff) | |
download | rpm-43c5de66fb90cbc59dc23eb0774d66c66d34b37d.tar.gz rpm-43c5de66fb90cbc59dc23eb0774d66c66d34b37d.tar.bz2 rpm-43c5de66fb90cbc59dc23eb0774d66c66d34b37d.zip |
Replace all RPMERR_* etc uses with corresponding RPMLOG_* levels
Diffstat (limited to 'rpmdb/db3.c')
-rw-r--r-- | rpmdb/db3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmdb/db3.c b/rpmdb/db3.c index 5112499f5..486a540ca 100644 --- a/rpmdb/db3.c +++ b/rpmdb/db3.c @@ -147,10 +147,10 @@ static int cvtdberr(dbiIndex dbi, const char * msg, int error, int printit) if (printit && rc) { if (msg) - rpmlog(RPMERR_DBERR, _("db%d error(%d) from %s: %s\n"), + rpmlog(RPMLOG_ERR, _("db%d error(%d) from %s: %s\n"), dbi->dbi_api, rc, msg, db_strerror(error)); else - rpmlog(RPMERR_DBERR, _("db%d error(%d): %s\n"), + rpmlog(RPMLOG_ERR, _("db%d error(%d): %s\n"), dbi->dbi_api, rc, db_strerror(error)); } @@ -1157,7 +1157,7 @@ static int db3open(rpmdb rpmdb, rpmTag rpmtag, dbiIndex * dbip) (dbi->dbi_eflags & DB_INIT_CDB) && !(dbi->dbi_eflags & DB_PRIVATE)) ? 0 : 1); - rpmlog( (rc ? RPMERR_FLOCK : RPMWARN_FLOCK), + rpmlog( (rc ? RPMLOG_ERR : RPMLOG_WARNING), _("cannot get %s lock on %s/%s\n"), ((dbi->dbi_mode & (O_RDWR|O_WRONLY)) ? _("exclusive") : _("shared")), |