summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/vercmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/vercmp.c b/src/util/vercmp.c
index e1f2345d..75972532 100644
--- a/src/util/vercmp.c
+++ b/src/util/vercmp.c
@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
return(0);
}
- ret = alpm_versioncmp(s1, s2);
+ ret = alpm_pkg_vercmp(s1, s2);
printf("%d\n", ret);
return(ret);
}