Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/diskspace.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-06-26 11:50:34 -0400
committerAllan McRae <allan@archlinux.org>2014-08-03 18:46:32 +1000
commite8de265f8039165dc32ffb78f6a6a5eb0c1514ad (patch)
tree83363a49ca0e14815e2f866d8682a3cb905a4cfe /lib/libalpm/diskspace.c
parent0e2db97a42df30d2731e4842b245191a68817d78 (diff)
move _alpm_lstat into util-common
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'lib/libalpm/diskspace.c')
-rw-r--r--lib/libalpm/diskspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c
index d07b188d..606f2dcc 100644
--- a/lib/libalpm/diskspace.c
+++ b/lib/libalpm/diskspace.c
@@ -235,7 +235,7 @@ static int calculate_removed_size(alpm_handle_t *handle,
const char *filename = file->name;
snprintf(path, PATH_MAX, "%s%s", handle->root, filename);
- _alpm_lstat(path, &st);
+ llstat(path, &st);
/* skip directories and symlinks to be consistent with libarchive that
* reports them to be zero size */