Page MenuHomeFreeBSD

Fix erroneous assert in libzfs diff
ClosedPublic

Authored by ryan_freqlabs.com on May 1 2019, 1:05 AM.

Details

Summary

All of the error cases in differ() set di->zerr to EPIPE so it doesn't make sense to assert that the error is EINVAL. If an error is set, assert it is EPIPE.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ryan_freqlabs.com retitled this revision from Fix erronious assert in libzfs diff to Fix erroneous assert in libzfs diff.Aug 28 2019, 1:35 PM
mav accepted this revision.Aug 28 2019, 4:57 PM
This revision is now accepted and ready to land.Aug 28 2019, 4:57 PM
This revision was automatically updated to reflect the committed changes.