index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Rémy Oudompheng <remyoudompheng@gmail.com> | 2011-04-05 01:38:21 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-04 19:03:27 -0500 |
commit | fc334b4e77553643bf9cdec47a4469ea7c62566b (patch) | |
tree | 2c7d21c315050fa05a1fd34586e5d7fa8b20e96a /lib | |
parent | 6a8b1c4f8433e95e713e3c6f152ba717c90d1dc9 (diff) |
-rw-r--r-- | lib/libalpm/db.c | 2 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index d9ed331e..49bbd00f 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -331,7 +331,7 @@ int SYMEXPORT alpm_db_set_pkgreason(pmdb_t *db, const char *name, pmpkgreason_t pkg->reason = reason; /* write DESC */ if(_alpm_local_db_write(db, pkg, INFRQ_DESC)) { - return(-1); + RET_ERR(PM_ERR_DB_WRITE, -1); } return(0); |