From 4c4890dd1cad52a420788e6c30a8e6eca8f83c38 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 24 Nov 2014 15:45:27 +1000 Subject: 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 --- src/pacman/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-24-g4f1b