Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b6b25cf authored by Xiaozhou Liu's avatar Xiaozhou Liu Committed by Daniel Borkmann
Browse files

selftests/bpf: fix error printing in test_devmap()



As a simple fix, just print the correct map type.

Signed-off-by: default avatarXiaozhou Liu <liuxiaozhou@bytedance.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 756af9c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -510,7 +510,7 @@ static void test_devmap(int task, void *data)
	fd = bpf_create_map(BPF_MAP_TYPE_DEVMAP, sizeof(key), sizeof(value),
			    2, 0);
	if (fd < 0) {
		printf("Failed to create arraymap '%s'!\n", strerror(errno));
		printf("Failed to create devmap '%s'!\n", strerror(errno));
		exit(1);
	}