f2fs-tools: update the format of output message
Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fsck/mount.c b/fsck/mount.c
index f3b47fd..7af684f 100644
--- a/fsck/mount.c
+++ b/fsck/mount.c
@@ -1948,8 +1948,8 @@
DBG(1, "\tWriting super block, at offset 0x%08x\n", 0);
for (index = 0; index < 2; index++) {
if (dev_write(zero_buff, index * F2FS_BLKSIZE, F2FS_BLKSIZE)) {
- MSG(1, "\tError: While while writing supe_blk \
- on disk!!! index : %d\n", index);
+ MSG(1, "\tError: While while writing supe_blk "
+ "on disk!!! index : %d\n", index);
free(zero_buff);
return -1;
}
diff --git a/fsck/resize.c b/fsck/resize.c
index d2fd467..b53a6fa 100644
--- a/fsck/resize.c
+++ b/fsck/resize.c
@@ -123,8 +123,8 @@
if ((get_sb(segment_count_main) - 2) < config.new_reserved_segments ||
get_sb(segment_count_main) * blks_per_seg >
get_sb(block_count)) {
- MSG(0, "\tError: Device size is not sufficient for F2FS volume,\
- more segment needed =%u",
+ MSG(0, "\tError: Device size is not sufficient for F2FS volume, "
+ "more segment needed =%u",
config.new_reserved_segments -
(get_sb(segment_count_main) - 2));
return -1;
diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c
index 3173c30..6b1318a 100644
--- a/mkfs/f2fs_format.c
+++ b/mkfs/f2fs_format.c
@@ -284,8 +284,8 @@
if ((get_sb(segment_count_main) - 2) <
config.reserved_segments) {
- MSG(1, "\tError: Device size is not sufficient for F2FS volume,\
- more segment needed =%u",
+ MSG(1, "\tError: Device size is not sufficient for F2FS volume, "
+ "more segment needed =%u",
config.reserved_segments -
(get_sb(segment_count_main) - 2));
return -1;
@@ -300,8 +300,8 @@
set_sb(root_ino, 3);
if (total_zones <= 6) {
- MSG(1, "\tError: %d zones: Need more zones \
- by shrinking zone size\n", total_zones);
+ MSG(1, "\tError: %d zones: Need more zones "
+ "by shrinking zone size\n", total_zones);
return -1;
}
@@ -362,8 +362,8 @@
DBG(1, "\tFilling sit area at offset 0x%08"PRIx64"\n", sit_seg_addr);
for (index = 0; index < (get_sb(segment_count_sit) / 2); index++) {
if (dev_fill(zero_buf, sit_seg_addr, seg_size)) {
- MSG(1, "\tError: While zeroing out the sit area \
- on disk!!!\n");
+ MSG(1, "\tError: While zeroing out the sit area "
+ "on disk!!!\n");
free(zero_buf);
return -1;
}
@@ -396,8 +396,8 @@
DBG(1, "\tFilling nat area at offset 0x%08"PRIx64"\n", nat_seg_addr);
for (index = 0; index < get_sb(segment_count_nat) / 2; index++) {
if (dev_fill(nat_buf, nat_seg_addr, seg_size)) {
- MSG(1, "\tError: While zeroing out the nat area \
- on disk!!!\n");
+ MSG(1, "\tError: While zeroing out the nat area "
+ "on disk!!!\n");
free(nat_buf);
return -1;
}
@@ -510,8 +510,8 @@
for (i = 0; i < get_sb(cp_payload); i++) {
cp_seg_blk_offset += blk_size_bytes;
if (dev_fill(cp_payload, cp_seg_blk_offset, blk_size_bytes)) {
- MSG(1, "\tError: While zeroing out the sit bitmap area \
- on disk!!!\n");
+ MSG(1, "\tError: While zeroing out the sit bitmap area "
+ "on disk!!!\n");
goto free_cp_payload;
}
}
@@ -650,8 +650,8 @@
for (i = 0; i < get_sb(cp_payload); i++) {
cp_seg_blk_offset += blk_size_bytes;
if (dev_fill(cp_payload, cp_seg_blk_offset, blk_size_bytes)) {
- MSG(1, "\tError: While zeroing out the sit bitmap area \
- on disk!!!\n");
+ MSG(1, "\tError: While zeroing out the sit bitmap area "
+ "on disk!!!\n");
goto free_cp_payload;
}
}
@@ -689,8 +689,8 @@
DBG(1, "\tWriting super block, at offset 0x%08x\n", 0);
for (index = 0; index < 2; index++) {
if (dev_write(zero_buff, index * F2FS_BLKSIZE, F2FS_BLKSIZE)) {
- MSG(1, "\tError: While while writing supe_blk \
- on disk!!! index : %d\n", index);
+ MSG(1, "\tError: While while writing supe_blk "
+ "on disk!!! index : %d\n", index);
free(zero_buff);
return -1;
}
diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
index 3741843..8a7b604 100644
--- a/mkfs/f2fs_format_main.c
+++ b/mkfs/f2fs_format_main.c
@@ -91,8 +91,8 @@
break;
case 'l': /*v: volume label */
if (strlen(optarg) > 512) {
- MSG(0, "Error: Volume Label should be less than\
- 512 characters\n");
+ MSG(0, "Error: Volume Label should be less than "
+ "512 characters\n");
mkfs_usage();
}
config.vol_label = optarg;