diff options
author | Allan McRae <allan@archlinux.org> | 2011-07-01 18:01:39 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-07-01 18:01:39 +0200 |
commit | bd88a8d5511c24db55dd2a5c04161918571dbfbd (patch) | |
tree | aadcae00adb125de60cbaff68c8b44f8c7fb04c1 /lib/libalpm/diskspace.c | |
parent | 495ba26e63ec5cb6b8def29f4e22ea7c444348d8 (diff) | |
download | pacman-bd88a8d5511c24db55dd2a5c04161918571dbfbd.tar.gz pacman-bd88a8d5511c24db55dd2a5c04161918571dbfbd.tar.xz |
Prefix alpm_transprog_t members with ALPM
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/diskspace.c')
-rw-r--r-- | lib/libalpm/diskspace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c index f0e22a68..0ce4332d 100644 --- a/lib/libalpm/diskspace.c +++ b/lib/libalpm/diskspace.c @@ -285,7 +285,7 @@ int _alpm_check_diskspace(alpm_handle_t *handle) for(targ = trans->remove; targ; targ = targ->next, current++) { alpm_pkg_t *local_pkg; int percent = (current * 100) / numtargs; - PROGRESS(trans, PM_TRANS_PROGRESS_DISKSPACE_START, "", percent, + PROGRESS(trans, ALPM_TRANS_PROGRESS_DISKSPACE_START, "", percent, numtargs, current); local_pkg = targ->data; @@ -296,7 +296,7 @@ int _alpm_check_diskspace(alpm_handle_t *handle) for(targ = trans->add; targ; targ = targ->next, current++) { alpm_pkg_t *pkg, *local_pkg; int percent = (current * 100) / numtargs; - PROGRESS(trans, PM_TRANS_PROGRESS_DISKSPACE_START, "", percent, + PROGRESS(trans, ALPM_TRANS_PROGRESS_DISKSPACE_START, "", percent, numtargs, current); pkg = targ->data; @@ -315,7 +315,7 @@ int _alpm_check_diskspace(alpm_handle_t *handle) } } - PROGRESS(trans, PM_TRANS_PROGRESS_DISKSPACE_START, "", 100, + PROGRESS(trans, ALPM_TRANS_PROGRESS_DISKSPACE_START, "", 100, numtargs, current); for(i = mount_points; i; i = alpm_list_next(i)) { |