From 5c9eec5570c145c07660bd2ba207b579eda0f26c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 23 Aug 2007 22:26:55 -0400 Subject: libalpm: add newlines to all strings passed to log callback This allows us to remove the hack in the frontend where we added a newline to everything coming out of the pm_printf functions, and instead let the developer put newlines where they want them. This should be the last hangover of that auto-newline stuff. Signed-off-by: Dan McGee --- lib/libalpm/group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/group.c') diff --git a/lib/libalpm/group.c b/lib/libalpm/group.c index 58759d0d..7a6db163 100644 --- a/lib/libalpm/group.c +++ b/lib/libalpm/group.c @@ -41,7 +41,7 @@ pmgrp_t *_alpm_grp_new() grp = calloc(1, sizeof(pmgrp_t)); if(grp == NULL) { - _alpm_log(PM_LOG_ERROR, _("malloc failure: could not allocate %d bytes"), + _alpm_log(PM_LOG_ERROR, _("malloc failure: could not allocate %d bytes\n"), sizeof(pmgrp_t)); RET_ERR(PM_ERR_MEMORY, NULL); } -- cgit v1.2.3-24-g4f1b