summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-06-26 17:50:34 +0200
committerAllan McRae <allan@archlinux.org>2014-08-03 10:46:32 +0200
commite8de265f8039165dc32ffb78f6a6a5eb0c1514ad (patch)
tree83363a49ca0e14815e2f866d8682a3cb905a4cfe /lib/libalpm/remove.c
parent0e2db97a42df30d2731e4842b245191a68817d78 (diff)
downloadpacman-e8de265f8039165dc32ffb78f6a6a5eb0c1514ad.tar.gz
pacman-e8de265f8039165dc32ffb78f6a6a5eb0c1514ad.tar.xz
move _alpm_lstat into util-common
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index 5cbeeb96..dd061e5e 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -457,7 +457,7 @@ static int unlink_file(alpm_handle_t *handle, alpm_pkg_t *oldpkg,
return 1;
}
- if(_alpm_lstat(file, &buf)) {
+ if(llstat(file, &buf)) {
_alpm_log(handle, ALPM_LOG_DEBUG, "file %s does not exist\n", file);
return 1;
}