erofs-utils: fix missing argument to erofs_err()
authorHongzhen Luo <hongzhen@linux.alibaba.com>
Mon, 5 Aug 2024 02:28:26 +0000 (10:28 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 6 Aug 2024 06:33:06 +0000 (14:33 +0800)
Fixes: cdd34def670b ("erofs-utils: mkfs: introduce rebuild mode")
Coverity-id: 502380
Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com>
Reviewed-by: Sandeep Dhavale <dhavale@google.com>
Link: https://lore.kernel.org/r/20240805022826.2581887-1-hongzhen@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
mkfs/main.c

index f9ac4bd33b318562ea5ca4e1c6a2515d492d6a34..14dfdf96413990e311b2e0245e6db045342aa5e5 100644 (file)
@@ -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;
                }