diff options
author | Toke Høiland-Jørgensen <[email protected]> | 2020-08-13 16:29:05 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-08-13 22:30:31 +0200 |
commit | 23ab656be263813acc3c20623757d3cd1496d9e1 (patch) | |
tree | d06549aeba7a768fb50051dde65d3d8fb616fb56 /scripts/gdb/linux/modules.py | |
parent | b33164f2bd1cedb094c32cb466287116164457ae (diff) |
libbpf: Prevent overriding errno when logging errors
Turns out there were a few more instances where libbpf didn't save the
errno before writing an error message, causing errno to be overridden by
the printf() return and the error disappearing if logging is enabled.
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions