summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index bb510838..498b6988 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -225,7 +225,7 @@ int split_pkgname(char *target, char *name, char *version)
*p = '\0';
}
/* trim architecture */
- if((p = _alpm_pkgname_has_arch(tmp))) {
+ if((p = alpm_pkg_name_hasarch(tmp))) {
*p = '\0';
}