K 10 svn:author V 9 vmaffione K 8 svn:date V 27 2022-12-31T12:44:05.797407Z K 7 svn:log V 463 libnetmap: reset errno in nmreq_register_decode() 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 ab639bb2873034786cd2ec4d2d9c4489fbf6f424) Git Hash: b4f8bd4de92b8a37bb99adc03c7232665aed6ce6 Git Author: vmaffione@FreeBSD.org END