Page MenuHomeFreeBSD

libiscsiutil: preserve errno across warning logs
ClosedPublic

Authored by kevans on Apr 21 2026, 4:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 23, 6:45 AM
Unknown Object (File)
Tue, Jul 21, 1:44 PM
Unknown Object (File)
Mon, Jul 20, 9:54 PM
Unknown Object (File)
Mon, Jul 20, 10:59 AM
Unknown Object (File)
Thu, Jul 16, 7:34 PM
Unknown Object (File)
Thu, Jul 16, 1:45 AM
Unknown Object (File)
Wed, Jul 15, 7:18 AM
Unknown Object (File)
Wed, Jul 15, 7:18 AM
Subscribers

Details

Summary

Various calls in the implementation can clobber errno; preserve it for
the caller since none of these will bubble up pass/fail to simplify
some future error handling in ctld.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable