summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-06 23:26:02 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-06 23:26:02 +0000
commit6c3657b7022c7873fca38b30796e7659b7580b34 (patch)
tree2b065889cd549bb217e89ea88265849a5bc7649a /lib/libalpm/sync.c
parent7dfe0ca0aebd7fedbcf8b3753559da831e29c05d (diff)
downloadpacman-6c3657b7022c7873fca38b30796e7659b7580b34.tar.xz
removed a misleading PM_ERR_XXX occurrence
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 14fbfd4b..63e7bc48 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -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) {