rpmio: Fix formatting of liblzma error messages

Add forgotten new lines.

Fixes: c254b0d63 ("add rpmlog(RPMLOG_ERR, ...) for liblzma return codes")
This commit is contained in:
Виталий Чикунов 2020-12-29 06:51:42 +03:00
parent 58313570f4
commit cae4cfe66f

View File

@ -2922,15 +2922,15 @@ static LZFILE *lzopen_internal(const char *path, const char *mode, int fd, int x
if (ret != LZMA_OK) {
switch (ret) {
case LZMA_MEM_ERROR:
rpmlog(RPMLOG_ERR, "liblzma: Memory allocation failed");
rpmlog(RPMLOG_ERR, "liblzma: Memory allocation failed\n");
break;
case LZMA_DATA_ERROR:
rpmlog(RPMLOG_ERR, "liblzma: File size limits exceeded");
rpmlog(RPMLOG_ERR, "liblzma: File size limits exceeded\n");
break;
default:
rpmlog(RPMLOG_ERR, "liblzma: <Unknown error (%d), possibly a bug", ret);
rpmlog(RPMLOG_ERR, "liblzma: <Unknown error (%d), possibly a bug\n", ret);
break;
}
fclose(fp);