Skip to content

Commit 204fb04

Browse files
aspskAlexei Starovoitov
authored andcommitted
selftests/bpf: Fix a typo in test_maps
Trivial fix to a typo in the test_map_wronly test: "read" -> "write" Signed-off-by: Anton Protopopov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent 601b05c commit 204fb04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/bpf/test_maps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ static void test_map_wronly(void)
14101410
fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value),
14111411
MAP_SIZE, map_flags | BPF_F_WRONLY);
14121412
if (fd < 0) {
1413-
printf("Failed to create map for read only test '%s'!\n",
1413+
printf("Failed to create map for write only test '%s'!\n",
14141414
strerror(errno));
14151415
exit(1);
14161416
}

0 commit comments

Comments
 (0)