btrfs-progs: utils: missing newline in error messages when checking dup
authorDavid Sterba <dsterba@suse.com>
Tue, 14 Jul 2015 16:51:52 +0000 (18:51 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 14 Jul 2015 16:51:52 +0000 (18:51 +0200)
Signed-off-by: David Sterba <dsterba@suse.com>
utils.c

diff --git a/utils.c b/utils.c
index 39b295a..280637d 100644 (file)
--- a/utils.c
+++ b/utils.c
@@ -2390,7 +2390,7 @@ int test_num_disk_vs_raid(u64 metadata_profile, u64 data_profile,
 
        if (!mixed && (data_profile & BTRFS_BLOCK_GROUP_DUP)) {
                fprintf(stderr,
-                       "ERROR: DUP for data is allowed only in mixed mode");
+                       "ERROR: DUP for data is allowed only in mixed mode\n");
                return 1;
        }
        return 0;