Skip to content

Commit

Permalink
Fix wrong assertion in libzfs diff error handling
Browse files Browse the repository at this point in the history
In compare(), all error cases set the error code to EPIPE, so when an
error is set, the correct assertion to make is that the error is EPIPE,
not EINVAL.

Reviewed-by: Richard Elling <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes openzfs#8743
  • Loading branch information
Ryan Moeller authored and allanjude committed Jun 7, 2019
1 parent f0f04ac commit 764aaa5
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 764aaa5

Please sign in to comment.