Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libzfs: Fix missing va_end call on ENOSPC and EDQUOT cases
The switch statement in function zfs_standard_error_fmt for the ENOSPC and EDQUOT cases returns immediately and unlike all other cases in the switch this does not perform the va_end call. Perform a break which ends up calling va_end rather than retutning immediately. Found by static analysis with CoverityScan 0.8.5 Closes openzfs#4900 Signed-off-by: Colin Ian King <[email protected]>
- Loading branch information