diff options
author | Sheng Yong <shengyong1@huawei.com> | 2016-07-15 20:01:24 +0800 |
---|---|---|
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2016-11-12 11:38:47 +0100 |
commit | 0032d10a5db9eb14c4e8c605ae5f089e8df99e23 (patch) | |
tree | 74021c451d0c11091c1723e5766baec80aecbcbb /fsck | |
parent | 9204a4963d065266df6028798fd41736479146eb (diff) | |
download | android_external_f2fs-tools-0032d10a5db9eb14c4e8c605ae5f089e8df99e23.tar.gz android_external_f2fs-tools-0032d10a5db9eb14c4e8c605ae5f089e8df99e23.tar.bz2 android_external_f2fs-tools-0032d10a5db9eb14c4e8c605ae5f089e8df99e23.zip |
f2fs-tools: update the format of output message
Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fsck')
-rw-r--r-- | fsck/mount.c | 4 | ||||
-rw-r--r-- | fsck/resize.c | 4 |
2 files changed, 4 insertions, 4 deletions
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 @@ static int check_sector_size(struct f2fs_super_block *sb) 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 @@ static int get_new_sb(struct f2fs_sb_info *sbi, struct f2fs_super_block *sb) 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; |