summaryrefslogtreecommitdiff
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index 266368ef..c2b15414 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -71,7 +71,7 @@ char *alpm_strerror(int err)
return "package already installed";
case PM_ERR_PKG_CANT_FRESH:
return "package not installed or lesser version";
- case PM_ERR_INVALID_NAME:
+ case PM_ERR_PKG_INVALID_NAME:
return "package name is not valid";
/* Dependencies */
case PM_ERR_UNSATISFIED_DEPS: