index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-08-19 19:12:21 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-19 19:12:21 -0500 |
commit | d9e5dab6aceeb4d32cfa52d5500f0d22cabb487b (patch) | |
tree | 031845462cc7aefe45c86a03aae95bb62e44fdeb /lib/libalpm/diskspace.c | |
parent | d307ed5eb9d6684911c55f661e2d58e0fd6e4ceb (diff) |
-rw-r--r-- | lib/libalpm/diskspace.c | 2 |
diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c index 1e2fa143..ad80304b 100644 --- a/lib/libalpm/diskspace.c +++ b/lib/libalpm/diskspace.c @@ -211,7 +211,7 @@ static int calculate_installed_size(alpm_handle_t *handle, /* approximate space requirements for db entries */ if(filename[0] == '.') { - filename = alpm_option_get_dbpath(handle); + filename = handle->dbpath; } snprintf(path, PATH_MAX, "%s%s", handle->root, filename); |