Page MenuHomeFreeBSD

Fix erroneous assert in libzfs diff
ClosedPublic

Authored by freqlabs 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.