index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-06-26 12:12:00 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-03 18:46:32 +1000 |
commit | c3835c157a870de8f4ac554f6d72e78e49c4e46b (patch) | |
tree | c59c4e1efaf798236beb10f0351b82016b212689 | |
parent | bbeced26f6ce167ad93817ebe7180cd22ef33c86 (diff) |
-rw-r--r-- | src/pacman/check.c | 6 |
diff --git a/src/pacman/check.c b/src/pacman/check.c index a7c66baa..60a038a1 100644 --- a/src/pacman/check.c +++ b/src/pacman/check.c @@ -26,11 +26,11 @@ #include "conf.h" #include "util.h" -static int check_file_exists(const char *pkgname, const char * filepath, - struct stat * st) +static int check_file_exists(const char *pkgname, char *filepath, + struct stat *st) { /* use lstat to prevent errors from symlinks */ - if(lstat(filepath, st) != 0) { + if(llstat(filepath, st) != 0) { if(config->quiet) { printf("%s %s\n", pkgname, filepath); } else { |