index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2012-06-05 19:15:59 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-06-25 23:01:28 -0500 |
commit | 6a5370b634c6b01b5c76c9577e1ca4007dbcc8bd (patch) | |
tree | d5aa1edf791a67885c93f098a86b74c5b074a942 /lib/libalpm/diskspace.c | |
parent | 1d32934769ebcf0ad32f0b8e8356e5fb0c7b8b2c (diff) |
-rw-r--r-- | lib/libalpm/diskspace.c | 2 |
diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c index 1fc297ed..a80a62b6 100644 --- a/lib/libalpm/diskspace.c +++ b/lib/libalpm/diskspace.c @@ -343,7 +343,7 @@ int _alpm_check_downloadspace(alpm_handle_t *handle, const char *cachedir, } cachedir_mp = match_mount_point(mount_points, cachedir); - if(cachedir == NULL) { + if(cachedir_mp == NULL) { _alpm_log(handle, ALPM_LOG_ERROR, _("could not determine cachedir mount point %s\n"), cachedir); error = 1; |