Fix compile error

Signed-off-by: Patrick Huesmann <info@patrick-huesmann.de>
This commit is contained in:
Patrick Huesmann 2021-01-27 13:35:15 +01:00 committed by Alexander Amelkin
parent 15418696ea
commit 66cda7e18f

View File

@ -624,7 +624,7 @@ serial_term_send_msg(struct ipmi_intf * intf, uint8_t * msg, int msg_len)
/* body */ /* body */
for (i = 0; i < msg_len; i++) { for (i = 0; i < msg_len; i++) {
buf += sprintf( buf, "%02x", msg[i]); buf += sprintf((char*) buf, "%02x", msg[i]);
} }
/* stop character */ /* stop character */