summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.h2
-rw-r--r--lib/libalpm/error.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 82512a83..61a1aa3e 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -333,7 +333,7 @@ extern enum __pmerrno_t {
PM_ERR_PKG_LOAD,
PM_ERR_PKG_INSTALLED,
PM_ERR_PKG_CANT_FRESH,
- PM_ERR_INVALID_NAME,
+ PM_ERR_PKG_INVALID_NAME,
/* Groups */
PM_ERR_GRP_NOT_FOUND,
/* Dependencies */
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: