mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
selftests/bpf: fix error printing in test_devmap()
As a simple fix, just print the correct map type. Signed-off-by: Xiaozhou Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
This commit is contained in:
parent
756af9c642
commit
8b6b25cf93
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue