mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-30 10:55:03 +00:00
tools lib bpf: improve warning
Signed-off-by: Eric Leblond <eric@regit.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5a78449810
commit
49bf4b36fd
1 changed files with 2 additions and 1 deletions
|
@ -879,7 +879,8 @@ bpf_object__create_maps(struct bpf_object *obj)
|
|||
size_t j;
|
||||
int err = *pfd;
|
||||
|
||||
pr_warning("failed to create map: %s\n",
|
||||
pr_warning("failed to create map (name: '%s'): %s\n",
|
||||
obj->maps[i].name,
|
||||
strerror(errno));
|
||||
for (j = 0; j < i; j++)
|
||||
zclose(obj->maps[j].fd);
|
||||
|
|
Loading…
Add table
Reference in a new issue