HomeFreeBSD

Call va_end on ap when vsnprintf fails in run_cmd(..) to clean up

Description

Call va_end on ap when vsnprintf fails in run_cmd(..) to clean up
the variable state

MFC after: 1 week
Reported by: cppcheck
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS292004: Fix compilation when -DDEBUG is defined by adding inttypes.h #include
Branches
Unknown
Tags
Unknown