index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2018-05-30 08:45:12 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-06-04 21:32:43 +1000 |
commit | 930d50194754e9c75bc0d6d7ccc41ae8f4b4e5c4 (patch) | |
tree | 7988653775fe267bdba2deb0387fb6cf128caeb2 /src | |
parent | 716d776936a7c0559ef09a3b456fa52d2339a4aa (diff) |
-rw-r--r-- | src/pacman/pacman-conf.c | 4 |
diff --git a/src/pacman/pacman-conf.c b/src/pacman/pacman-conf.c index aa0cdf22..baa72d97 100644 --- a/src/pacman/pacman-conf.c +++ b/src/pacman/pacman-conf.c @@ -212,9 +212,9 @@ static void show_siglevel(const char *directive, alpm_siglevel_t level, int pkgo } } -static void show_usage(const char *directive, alpm_db_usage_t usage) +static void show_usage(const char *directive, int usage) { - if(usage & ALPM_DB_USAGE_ALL) { + if(usage == ALPM_DB_USAGE_ALL) { show_str(directive, "All"); } else { if(usage & ALPM_DB_USAGE_SYNC) { |