[pacman-dev] [PATCH 1/2] Unify two free diskspace error messages

Dan McGee dan at archlinux.org
Tue Jan 11 20:51:44 EST 2011


Although they won't be the same in the gettext catalog because of the '\n'
we should still use the same text.

Signed-off-by: Dan McGee <dan at archlinux.org>
---
 lib/libalpm/error.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index 4dab9fa..1b144a5 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -58,7 +58,7 @@ const char SYMEXPORT *alpm_strerror(int err)
 		case PM_ERR_WRONG_ARGS:
 			return _("wrong or NULL argument passed");
 		case PM_ERR_DISK_SPACE:
-			return _("not enough disk space");
+			return _("not enough free disk space");
 		/* Interface */
 		case PM_ERR_HANDLE_NULL:
 			return _("library not initialized");
-- 
1.7.3.5



More information about the pacman-dev mailing list