From 9cc5e60e6d0da3ca41bd463d1a65eba6220e6cbe Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sun, 12 Feb 2006 09:43:38 +0000 Subject: reworked logs --- lib/libalpm/remove.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libalpm') diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 30f160de..dbc96417 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -246,12 +246,12 @@ int remove_commit(pmtrans_t *trans, pmdb_t *db) /* remove the package from the database */ _alpm_log(PM_LOG_FLOW1, "updating database"); - _alpm_log(PM_LOG_FLOW2, "removing database entry %s", info->name); + _alpm_log(PM_LOG_FLOW2, "removing database entry '%s'", info->name); if(db_remove(db, info) == -1) { _alpm_log(PM_LOG_ERROR, "could not remove database entry %s-%s", info->name, info->version); } if(db_remove_pkgfromcache(db, info) == -1) { - _alpm_log(PM_LOG_ERROR, "could not remove entry %s from cache", info->name); + _alpm_log(PM_LOG_ERROR, "could not remove entry '%s' from cache", info->name); } /* update dependency packages' REQUIREDBY fields */ @@ -283,7 +283,7 @@ int remove_commit(pmtrans_t *trans, pmdb_t *db) FREELISTPTR(provides); } if(depinfo == NULL) { - _alpm_log(PM_LOG_ERROR, "could not find dependency %s", depend.name); + _alpm_log(PM_LOG_ERROR, "could not find dependency '%s'", depend.name); /* wtf */ continue; } @@ -291,7 +291,7 @@ int remove_commit(pmtrans_t *trans, pmdb_t *db) /* splice out this entry from requiredby */ depinfo->requiredby = _alpm_list_remove(depinfo->requiredby, info->name, str_cmp, (void **)&data); FREE(data); - _alpm_log(PM_LOG_DEBUG, "updating 'requiredby' field for package %s", depinfo->name); + _alpm_log(PM_LOG_DEBUG, "updating 'requiredby' field for package '%s'", depinfo->name); if(db_write(db, depinfo, INFRQ_DEPENDS)) { _alpm_log(PM_LOG_ERROR, "could not update 'requiredby' database entry %s-%s", depinfo->name, depinfo->version); -- cgit v1.2.3-70-g09d2