summaryrefslogtreecommitdiff
path: root/fs/btrfs/tests/extent-buffer-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
commit770e0cc040b07eb54f6cb119a44bf6ff742338eb (patch)
tree71a53235203a6702c66addd8956b9b06eed45a7b /fs/btrfs/tests/extent-buffer-tests.c
parent9e3d9f8462ef020e2e4d256064f15fc7eb657156 (diff)
downloadlinux-770e0cc040b07eb54f6cb119a44bf6ff742338eb.tar.xz
btrfs: tests: use standard error message after path allocation failure
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/extent-buffer-tests.c')
-rw-r--r--fs/btrfs/tests/extent-buffer-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tests/extent-buffer-tests.c b/fs/btrfs/tests/extent-buffer-tests.c
index dc2582554cf0..a1b9f9b5978e 100644
--- a/fs/btrfs/tests/extent-buffer-tests.c
+++ b/fs/btrfs/tests/extent-buffer-tests.c
@@ -43,7 +43,7 @@ static int test_btrfs_split_item(u32 sectorsize, u32 nodesize)
path = btrfs_alloc_path();
if (!path) {
- test_err("could not allocate path");
+ test_std_err(TEST_ALLOC_PATH);
ret = -ENOMEM;
goto out;
}