Signed-off-by: Jaegeuk Kim <[email protected]>
---
 lib/libf2fs.c           | 2 +-
 mkfs/f2fs_format.c      | 2 +-
 mkfs/f2fs_format_main.c | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/libf2fs.c b/lib/libf2fs.c
index 420dfdae56da..94fb91d46d28 100644
--- a/lib/libf2fs.c
+++ b/lib/libf2fs.c
@@ -952,7 +952,7 @@ int get_device_info(int i)
                c.kd = open("/proc/version", O_RDONLY);
 #endif
                if (c.kd < 0) {
-                       MSG(0, "\tInfo: No support kernel version!\n");
+                       MSG(0, "Info: not exist /proc/version!\n");
                        c.kd = -2;
                }
        }
diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c
index 864d2851bd6a..dba0cec61e60 100644
--- a/mkfs/f2fs_format.c
+++ b/mkfs/f2fs_format.c
@@ -578,10 +578,10 @@ static int f2fs_prepare_super_block(void)
        if (c.kd >= 0) {
                dev_read_version(c.version, 0, VERSION_LEN);
                get_kernel_version(c.version);
-               MSG(0, "Info: format version with\n  \"%s\"\n", c.version);
        } else {
                get_kernel_uname_version(c.version);
        }
+       MSG(0, "Info: format version with\n  \"%s\"\n", c.version);
 
        memcpy(sb->version, c.version, VERSION_LEN);
        memcpy(sb->init_version, c.version, VERSION_LEN);
diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
index 6efe35fff2d2..9e910e78d540 100644
--- a/mkfs/f2fs_format_main.c
+++ b/mkfs/f2fs_format_main.c
@@ -24,7 +24,7 @@
 
 #include "config.h"
 #ifdef HAVE_LIBBLKID
-#  include <blkid.h>
+#include <blkid.h>
 #endif
 
 #include "f2fs_fs.h"
@@ -78,7 +78,7 @@ static void mkfs_usage()
 
 static void f2fs_show_info()
 {
-       MSG(0, "\n\tF2FS-tools: mkfs.f2fs Ver: %s (%s)\n\n",
+       MSG(0, "\n    F2FS-tools: mkfs.f2fs Ver: %s (%s)\n\n",
                                F2FS_TOOLS_VERSION,
                                F2FS_TOOLS_DATE);
        if (c.heap == 0)
-- 
2.35.0.263.gb82422642f-goog



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to