Skip to contentSkip to conversation

dm: Fix typo in error message

PATCH New Ssuhung Yeh 1 participant 1 message Oct 31, 2024 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm: Fix typo in error message

Remove the redundant "i" at the beginning of the error message. This "i" came from commit 1c1318866928 ("dm: prefer
'"%s...", __func__'"), the "i" is accidentally left.

---
 drivers/md/persistent-data/dm-space-map-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/persistent-data/dm-space-map-common.c +1 -1
index 3a19124ee279..22a551c407da 100644
@@ -51,7 +51,7 @@ static int index_check(const struct dm_block_validator *v,
 					       block_size - sizeof(__le32),
 					       INDEX_CSUM_XOR));
 	if (csum_disk != mi_le->csum) {
-		DMERR_LIMIT("i%s failed: csum %u != wanted %u", __func__,
+		DMERR_LIMIT("%s failed: csum %u != wanted %u", __func__,
 			    le32_to_cpu(csum_disk), le32_to_cpu(mi_le->csum));
 		return -EILSEQ;
 	}
Signature · 1 line
2.39.5 (Apple Git-154)