btrfs: tests: use standard error message after fs_info allocation failure

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba
2019-03-15 17:28:46 +01:00
parent 703de4266f
commit 37b2a7bc1e
7 changed files with 11 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ static int test_btrfs_split_item(u32 sectorsize, u32 nodesize)
fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);
if (!fs_info) {
test_err("could not allocate fs_info");
test_std_err(TEST_ALLOC_FS_INFO);
return -ENOMEM;
}