HomeFreeBSD

dd: Check result of close(2) for errors

Description

dd: Check result of close(2) for errors

close(2) can return errors from previous operations which should not be ignored.

PR: 229616
Submitted by: Thomas Hurst
Reported by: Thomas Hurst
Reviewed by: mmacy@
Obtained from: Ryan Moeller
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D21376

Details

Committed
mmacySep 30 2019, 9:53 PM
Differential Revision
D21376: dd: Check result of close(2) for errors
Parents
rS352920: Add conv=fdatasync flag to dd
Branches
Unknown
Tags
Unknown