clangd reports a buffer overrun issue.
The sprintf() used to fill ipmi_devfs2 requires 17 bytes to store the
null terminated string. The character buffer is only 16 bytes in
length.
clangd also flagged the C2X style structure initialization. IPMItool
is not using that compile flag. Changed the initialization of the
struct to meet pre-C2X compilation requirements.
Signed-off-by: Johnathan Mantey johnathanx.mantey@intel.com