From 7fe67c85862eeb72596fba1715daf4b3c57eacac Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Fri, 1 Apr 2016 18:27:59 +0000 Subject: [PATCH] Fix format string in mbus_send_user_data_frame --- mbus/mbus-protocol-aux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbus/mbus-protocol-aux.c b/mbus/mbus-protocol-aux.c index a4d23e3..38d0602 100755 --- a/mbus/mbus-protocol-aux.c +++ b/mbus/mbus-protocol-aux.c @@ -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)) { - 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; }