summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-17 10:01:22 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-17 10:01:22 +0000
commitcb0182160d91f6f99cc8da28d399ad002fe1ec26 (patch)
treec8cad1afbd77ba1cd100519341f76995731a419d /lib/libalpm
parent9b64e312866580de57687bef9d007ac9f2c9ce5a (diff)
downloadpacman-cb0182160d91f6f99cc8da28d399ad002fe1ec26.tar.xz
renamed PM_ERR_INVALID_NAME to PM_ERR_PKG_INVALID_NAME
Diffstat (limited to 'lib/libalpm')
-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: