index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-02-21 08:34:36 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-02-21 08:34:36 +0000 |
commit | a5f630fda6ef984b39c867da28c3eeef8abbb30d (patch) | |
tree | 550a0c096fda4bceccf2ff70c3b156d2ca4f492c /lib/libalpm/trans.c | |
parent | 829ac8369b49219c988bb7553a3093615ddcb76d (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 4 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 64cb47c5..0bbc260e 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -294,7 +294,7 @@ int _alpm_trans_update_depends(pmtrans_t *trans, pmpkg_t *pkg) found_provides = 1; /* Ensure package has the right newpkg */ - _alpm_db_read(localdb, INFRQ_DEPENDS, deppkg); + _alpm_db_read(localdb, deppkg, INFRQ_DEPENDS); _alpm_log(PM_LOG_DEBUG, _("updating 'requiredby' field for package '%s'"), deppkg->name); if(trans->type == PM_TRANS_TYPE_REMOVE) { @@ -318,7 +318,7 @@ int _alpm_trans_update_depends(pmtrans_t *trans, pmpkg_t *pkg) } /* Ensure package has the right newpkg */ - _alpm_db_read(localdb, INFRQ_DEPENDS, deppkg); + _alpm_db_read(localdb, deppkg, INFRQ_DEPENDS); _alpm_log(PM_LOG_DEBUG, _("updating 'requiredby' field for package '%s'"), deppkg->name); if(trans->type == PM_TRANS_TYPE_REMOVE) { |