[pacman-dev] [PATCH] db.c: set pm_errno appropriately in alpm_db_set_pkgreason()