diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-07 00:26:02 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-07 00:26:02 +0100 |
commit | 6c3657b7022c7873fca38b30796e7659b7580b34 (patch) | |
tree | 2b065889cd549bb217e89ea88265849a5bc7649a /lib/libalpm | |
parent | 7dfe0ca0aebd7fedbcf8b3753559da831e29c05d (diff) | |
download | pacman-6c3657b7022c7873fca38b30796e7659b7580b34.tar.gz pacman-6c3657b7022c7873fca38b30796e7659b7580b34.tar.xz |
removed a misleading PM_ERR_XXX occurrence
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/sync.c | 2 |
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) { |