btrfs-progs: remove stray newline from message in check_super
authorDavid Sterba <dsterba@suse.com>
Thu, 8 Sep 2016 16:42:45 +0000 (18:42 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Sep 2016 09:48:48 +0000 (11:48 +0200)
Signed-off-by: David Sterba <dsterba@suse.com>
disk-io.c

index f5340c316bda2f27e2edbff149285a3bbf2cb8dc..7c52f12d826b45d8f4ea3b24f4068e9becdcc0aa 100644 (file)
--- a/disk-io.c
+++ b/disk-io.c
@@ -1439,7 +1439,7 @@ static int check_super(struct btrfs_super_block *sb, unsigned sbflags)
 
        csum_type = btrfs_super_csum_type(sb);
        if (csum_type >= ARRAY_SIZE(btrfs_csum_sizes)) {
-               error("unsupported checksum algorithm %u\n", csum_type);
+               error("unsupported checksum algorithm %u", csum_type);
                return -EIO;
        }
        csum_size = btrfs_csum_sizes[csum_type];