diff options
author | Toke Høiland-Jørgensen <[email protected]> | 2019-11-09 21:37:30 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-11-10 19:26:30 -0800 |
commit | b6e99b010ecf829fd8453a7a77e389501bb81990 (patch) | |
tree | e4113e360fc202b4c7e663f28fa8e6c661c025e9 /scripts/gdb/linux/tasks.py | |
parent | 4f33ddb4e3e28ade924fbf05ec8bcd7d5c022fee (diff) |
libbpf: Use pr_warn() when printing netlink errors
The netlink functions were using fprintf(stderr, ) directly to print out
error messages, instead of going through the usual logging macros. This
makes it impossible for the calling application to silence or redirect
those error messages. Fix this by switching to pr_warn() in nlattr.c and
netlink.c.
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: David S. Miller <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions