mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
The reset is necessary at the beginning of the function, because of
the errno logic in the error path (set errno to EINVAL if not set).
If errno is already set when calling the function, and the function
fails, the previous errno value will be inherited.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| libnetmap.h | ||
| Makefile | ||
| nmctx-pthreads.c | ||
| nmctx.c | ||
| nmport.c | ||
| nmreq.c | ||