Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-03 12:36:13 -0500
committerDan McGee <dan@archlinux.org>2011-06-03 12:36:13 -0500
commit4015b23e8ef1e5a0e8d103ffefca0ffc4ad9e6c0 (patch)
tree276094dcabd0f8929b2b97c7befa0f40a2383c3b /lib/libalpm/sync.c
parent7fc635fee071e18d0422a4773937e66960be96b2 (diff)
Remove global handle from diskspace.c
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c2
1 files changed, 1 insertions, 1 deletions
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;
}