summaryrefslogtreecommitdiff
path: root/fs/btrfs/tests/extent-io-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:26 +0300
commit6a060db85d0a81b9c06bb134f30a55a6b89a0a02 (patch)
tree7871d061ff4f6c013bfb34096a22769b1f6f1a07 /fs/btrfs/tests/extent-io-tests.c
parent770e0cc040b07eb54f6cb119a44bf6ff742338eb (diff)
downloadlinux-6a060db85d0a81b9c06bb134f30a55a6b89a0a02.tar.xz
btrfs: tests: use standard error message after inode allocation failure
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/extent-io-tests.c')
-rw-r--r--fs/btrfs/tests/extent-io-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tests/extent-io-tests.c b/fs/btrfs/tests/extent-io-tests.c
index 904addec8aef..3064b61b110b 100644
--- a/fs/btrfs/tests/extent-io-tests.c
+++ b/fs/btrfs/tests/extent-io-tests.c
@@ -73,7 +73,7 @@ static int test_find_delalloc(u32 sectorsize)
inode = btrfs_new_test_inode();
if (!inode) {
- test_err("failed to allocate test inode");
+ test_std_err(TEST_ALLOC_INODE);
return -ENOMEM;
}