File 0005-fsck-fix-an-error-message-in-read_boot_region.patch of Package exfatprogs.31393
From f76db2aadeea37528cb15a9a32869f7d8eb34412 Mon Sep 17 00:00:00 2001
From: Hyunchul Lee <hyc.lee@gmail.com>
Date: Thu, 27 Aug 2020 16:48:34 +0900
Subject: [PATCH 5/9] fsck: fix an error message in read_boot_region
Remove a new line in the error message.
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
(cherry picked from commit facad7764036e885b0fce9427a5d5d467298ce93)
Acked-by: David Disseldorp <ddiss@suse.de>
---
fsck/fsck.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fsck/fsck.c b/fsck/fsck.c
index 39c193d..a2ca143 100644
--- a/fsck/fsck.c
+++ b/fsck/fsck.c
@@ -710,7 +710,7 @@ static int read_boot_region(struct exfat_blk_dev *bd, struct pbr **pbr,
if (le64_to_cpu(bs->bsx.vol_length) * EXFAT_SECTOR_SIZE(bs) >
bd->size) {
- exfat_err("too large sector count: %" PRIu64 "\n, expected: %llu\n",
+ exfat_err("too large sector count: %" PRIu64 ", expected: %llu\n",
le64_to_cpu(bs->bsx.vol_length),
bd->num_sectors);
goto err;
--
2.35.3