[pacman-dev] [PATCH] add missing newline to error message

Allan McRae allan at archlinux.org
Sun Apr 29 14:23:18 UTC 2018


Signed-off-by: Allan McRae <allan at archlinux.org>
---
 lib/libalpm/signing.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
index e5a294a1..3e37f2f4 100644
--- a/lib/libalpm/signing.c
+++ b/lib/libalpm/signing.c
@@ -992,7 +992,7 @@ static size_t length_check(size_t length, size_t position, size_t a,
 {
 	if( a == 0 || length - position <= a) {
 		_alpm_log(handle, ALPM_LOG_ERROR,
-		_("%s: signature format error"), identifier);
+		_("%s: signature format error\n"), identifier);
 		return -1;
 	} else {
 		return 0;
-- 
2.17.0


More information about the pacman-dev mailing list