aboutsummaryrefslogtreecommitdiffstats
path: root/module/os
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2022-09-20 18:20:56 -0400
committerGitHub <[email protected]>2022-09-20 15:20:56 -0700
commit7c6d94728c9f5deef7e7cc0bf4320385345de5bd (patch)
tree6e72178d9d02a2ecb46cc67aa769541a83a75078 /module/os
parentde6c0d3d8cb279e0dd6a4831d85a9c45047908ba (diff)
Call va_end() before return in zpool_standard_error_fmt()
Commit ecd6cf800b63704be73fb264c3f5b6e0dafc068d by marks in OpenSolaris at Tue Jun 26 07:44:24 2007 -0700 introduced a bug where we fail to call `va_end()` before returning. The man page for va_start() says: "Each invocation of va_start() must be matched by a corresponding invocation of va_end() in the same function." Coverity complained about this. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Chunwei Chen <[email protected]> Signed-off-by: Richard Yao <[email protected]> Closes #13904
Diffstat (limited to 'module/os')
0 files changed, 0 insertions, 0 deletions