[PATCH] erofs-utils: fix extra argument to erofs_err()

Hongzhen Luo hongzhen at linux.alibaba.com
Mon Aug 5 12:28:26 AEST 2024


Coverity-id: 502380

Signed-off-by: Hongzhen Luo <hongzhen at linux.alibaba.com>
---
 mkfs/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkfs/main.c b/mkfs/main.c
index f9ac4bd..14dfdf9 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -1067,7 +1067,7 @@ static int erofs_mkfs_rebuild_load_trees(struct erofs_inode *root)
 			return ret;
 		}
 		if (src->extra_devices > 1) {
-			erofs_err("%s: unsupported number of extra devices",
+			erofs_err("%s: unsupported number %u of extra devices",
 				  src->devname, src->extra_devices);
 			return -EOPNOTSUPP;
 		}
-- 
2.43.5



More information about the Linux-erofs mailing list