summaryrefslogtreecommitdiff
path: root/fs/btrfs/tests/qgroup-tests.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-15 19:28:46 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:25 +0300
commit37b2a7bc1ea919c8d00f2a2ece1917c38a30d6ae (patch)
tree486a8dc794c242207d8e9a501af2c70c604777ee /fs/btrfs/tests/qgroup-tests.c
parent703de4266f63ba1703fd04d4838fefd555dfbf9a (diff)
downloadlinux-37b2a7bc1ea919c8d00f2a2ece1917c38a30d6ae.tar.xz
btrfs: tests: use standard error message after fs_info allocation failure
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/qgroup-tests.c')
-rw-r--r--fs/btrfs/tests/qgroup-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tests/qgroup-tests.c b/fs/btrfs/tests/qgroup-tests.c
index 412b910b04cc..c620f68462be 100644
--- a/fs/btrfs/tests/qgroup-tests.c
+++ b/fs/btrfs/tests/qgroup-tests.c
@@ -457,7 +457,7 @@ int btrfs_test_qgroups(u32 sectorsize, u32 nodesize)
fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);
if (!fs_info) {
- test_err("couldn't allocate dummy fs info");
+ test_std_err(TEST_ALLOC_FS_INFO);
return -ENOMEM;
}