Fix format string in mbus_send_user_data_frame
This commit is contained in:
parent
9906723447
commit
7fe67c8586
@ -1928,7 +1928,7 @@ mbus_send_user_data_frame(mbus_handle * handle, int address, const unsigned char
|
|||||||
|
|
||||||
if ((data_size > MBUS_FRAME_DATA_LENGTH) || (data_size == 0))
|
if ((data_size > MBUS_FRAME_DATA_LENGTH) || (data_size == 0))
|
||||||
{
|
{
|
||||||
MBUS_ERROR("%s: illegal data_size %d\n", __PRETTY_FUNCTION__, data_size);
|
MBUS_ERROR("%s: illegal data_size %zu\n", __PRETTY_FUNCTION__, data_size);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user