summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-11-24 15:45:27 +1000
committerAllan McRae <allan@archlinux.org>2014-12-28 13:06:15 +1000
commit4c4890dd1cad52a420788e6c30a8e6eca8f83c38 (patch)
tree5b8e0134979982d432426adf9c5857c7f2c0f705
parent2759858e8c784dbce6fd60bf032efe96b40a9032 (diff)
downloadpacman-4c4890dd1cad52a420788e6c30a8e6eca8f83c38.tar.gz
pacman-4c4890dd1cad52a420788e6c30a8e6eca8f83c38.zip
Clarify "assume installed" error message
The error message on failing to add an "assume installed" entry to the backend was not clear. Clarify by making "assume-installed" none translatable and adding a hyphen to match calling flag. Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 7ffc4d59..65349f57 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -754,7 +754,7 @@ static int setup_libalpm(void)
ret = alpm_option_add_assumeinstalled(handle, dep);
if(ret) {
- pm_printf(ALPM_LOG_ERROR, _("Failed to pass assume installed entry to libalpm"));
+ pm_printf(ALPM_LOG_ERROR, _("Failed to pass %s entry to libalpm"), "assume-installed");
alpm_dep_free(dep);
return ret;
}