[pacman-dev] [PATCH] conf.c: add missing newline to warning

Andrew Gregory andrew.gregory.8 at gmail.com
Sun Dec 29 22:51:20 EST 2013


Fixes tests that use pacman's output when built without libcurl.

Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 src/pacman/conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index cf8a417..05c4610 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -716,7 +716,7 @@ static int setup_libalpm(void)
 	if(config->xfercommand) {
 		alpm_option_set_fetchcb(handle, download_with_xfercommand);
 	} else if(!(alpm_capabilities() & ALPM_CAPABILITY_DOWNLOADER)) {
-		pm_printf(ALPM_LOG_WARNING, _("no '%s' configured"), "XferCommand");
+		pm_printf(ALPM_LOG_WARNING, _("no '%s' configured\n"), "XferCommand");
 	}
 
 	if(config->totaldownload) {
-- 
1.8.5.2



More information about the pacman-dev mailing list