summaryrefslogtreecommitdiff
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-04-26 13:03:53 -0500
committerDan McGee <dan@archlinux.org>2008-04-26 13:03:53 -0500
commit6d79ba2db0f37f46b925a509ef83724fc0f61184 (patch)
tree14b29d2d69c92f51e1c36ff0386503ce6046f6ca /lib/libalpm/error.c
parent481c3edc89fa674f9723c13ab4d12f032cf8ca02 (diff)
downloadpacman-6d79ba2db0f37f46b925a509ef83724fc0f61184.tar.xz
Fix some fallout from the delta/download changes
We removed one too many FREELIST() calls when trying to fix some memleaks, and add a safety/sanity check to ensure filename is set, as packages in old DBs are likely to not have this field. Signed-off-by: Dan McGee <dan@archlinux.org>
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 7c30cd09..05caf8ec 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -120,7 +120,7 @@ const char SYMEXPORT *alpm_strerror(int err)
case PM_ERR_PKG_CANT_REMOVE:
return _("cannot remove all files for package");
case PM_ERR_PKG_INVALID_NAME:
- return _("package name is not valid");
+ return _("package filename is not valid");
case PM_ERR_PKG_REPO_NOT_FOUND:
return _("no such repository");
/* Deltas */