libbpf-rs icon indicating copy to clipboard operation
libbpf-rs copied to clipboard

Preserve errno in set_print()

Open insearchoflosttime opened this issue 3 years ago • 0 comments

We need to preserve the errno and set it back after the callback function is called.

For more context, please see https://github.com/libbpf/libbpf/pull/536

insearchoflosttime avatar Aug 04 '22 22:08 insearchoflosttime