HomeFreeBSD

sendfile_test: fix copy-paste bug

Description

sendfile_test: fix copy-paste bug

Require the newly opened file descriptor to be good, instead of
re-requiring the one that was required three lines earlier.
Thankfully, opening /dev/null is really unlikely to fail.

Reported by: Coverity
MFC after: 1 week
Sponsored by: Dell EMC Isilon

Details

Provenance
vangyzenAuthored on Feb 24 2022, 10:53 PM
Parents
rG062103fc93c3: iwlwifi: update firmware
Branches
Unknown
Tags
Unknown