1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

removed a misleading PM_ERR_XXX occurrence

This commit is contained in:
Aurelien Foret 2006-01-06 23:26:02 +00:00
parent 7dfe0ca0ae
commit 6c3657b702

View File

@ -661,7 +661,7 @@ int sync_commit(pmtrans_t *trans, pmdb_t *db_local)
tr = trans_new();
if(tr == NULL) {
_alpm_log(PM_LOG_ERROR, "could not create transaction");
pm_errno = PM_ERR_XXX;
pm_errno = PM_ERR_MEMORY;
goto error;
}
if(trans_init(tr, PM_TRANS_TYPE_UPGRADE, trans->flags | PM_TRANS_FLAG_NODEPS, NULL, NULL) == -1) {