index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-06-03 12:36:13 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-03 12:36:13 -0500 |
commit | 4015b23e8ef1e5a0e8d103ffefca0ffc4ad9e6c0 (patch) | |
tree | 276094dcabd0f8929b2b97c7befa0f40a2383c3b /lib/libalpm/sync.c | |
parent | 7fc635fee071e18d0422a4773937e66960be96b2 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 2 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 8390a2c2..32060d0a 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -935,7 +935,7 @@ int _alpm_sync_commit(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t **data) EVENT(trans, PM_TRANS_EVT_DISKSPACE_START, NULL, NULL); _alpm_log(PM_LOG_DEBUG, "checking available disk space\n"); - if(_alpm_check_diskspace(trans, handle->db_local) == -1) { + if(_alpm_check_diskspace(handle) == -1) { _alpm_log(PM_LOG_ERROR, "%s\n", _("not enough free disk space")); return -1; } |