From cb0182160d91f6f99cc8da28d399ad002fe1ec26 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sun, 17 Apr 2005 10:01:22 +0000 Subject: renamed PM_ERR_INVALID_NAME to PM_ERR_PKG_INVALID_NAME --- lib/libalpm/alpm.h | 2 +- lib/libalpm/error.c | 2 +- 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: -- cgit v1.2.3-70-g09d2