HomeFreeBSD

lam: fail on I/O errors

Description

lam: fail on I/O errors

I/O errors should be reported; however lam currently does not
disambiguate between EOF because end-of-file was reached and EOF because
an I/O error occurred.
This commit changes lam to exit with EX_IOERR when an I/O error occurs.

Reviewed by: imp, allanjude
Sponsored by: Apple Inc.
Differential Revision: https://reviews.freebsd.org/D45437

Details

Provenance
ccecchi_apple.comAuthored on Jun 6 2024, 5:24 PM
allanjudeCommitted on Jun 6 2024, 5:24 PM
Reviewer
imp
Differential Revision
D45437: lam: fail on I/O errors
Parents
rG60107d23d8f2: ctladm.8: fix several errors in the "port" section
Branches
Unknown
Tags
Unknown