summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tests/btrfs-tests.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-05-17 00:00:44 +0200
committerDavid Sterba <dsterba@suse.com>2018-05-29 18:12:52 +0200
commit315b76b46232758836f2d431e0963567f796116f (patch)
treeb7b9ae5e9dce42de9c25744f4461c110c6b82dc9 /fs/btrfs/tests/btrfs-tests.h
parentbtrfs: tests: add helper for error messages and update them (diff)
downloadlinux-315b76b46232758836f2d431e0963567f796116f.tar.xz
linux-315b76b46232758836f2d431e0963567f796116f.zip
btrfs: tests: drop newline from test_msg strings
Now that test_err strings do not need the newline, remove them also from the test_msg. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/btrfs-tests.h')
-rw-r--r--fs/btrfs/tests/btrfs-tests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tests/btrfs-tests.h b/fs/btrfs/tests/btrfs-tests.h
index 47b5d2eac790..70ff9f9d86a1 100644
--- a/fs/btrfs/tests/btrfs-tests.h
+++ b/fs/btrfs/tests/btrfs-tests.h
@@ -9,7 +9,7 @@
#ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS
int btrfs_run_sanity_tests(void);
-#define test_msg(fmt, ...) pr_info("BTRFS: selftest: " fmt, ##__VA_ARGS__)
+#define test_msg(fmt, ...) pr_info("BTRFS: selftest: " fmt "\n", ##__VA_ARGS__)
#define test_err(fmt, ...) pr_err("BTRFS: selftest: " fmt "\n", ##__VA_ARGS__)
struct btrfs_root;