From 6c3657b7022c7873fca38b30796e7659b7580b34 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Fri, 6 Jan 2006 23:26:02 +0000 Subject: removed a misleading PM_ERR_XXX occurrence --- lib/libalpm/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) { -- cgit v1.2.3-70-g09d2