testj1939: use %zu to as format string to print sizeof()
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>pull/130/head
parent
e1d5ee9907
commit
9f60ed6fa0
|
|
@ -102,7 +102,7 @@ int main(int argc, char *argv[])
|
||||||
case 's':
|
case 's':
|
||||||
todo_send = strtoul(optarg ?: "8", NULL, 0);
|
todo_send = strtoul(optarg ?: "8", NULL, 0);
|
||||||
if (todo_send > sizeof(dat))
|
if (todo_send > sizeof(dat))
|
||||||
error(1, 0, "Unsupported size. max: %i", sizeof(dat));
|
error(1, 0, "Unsupported size. max: %zu", sizeof(dat));
|
||||||
break;
|
break;
|
||||||
case 'r':
|
case 'r':
|
||||||
todo_recv = 1;
|
todo_recv = 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue