Commit c5352e99 authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Stephanos Ioannidis
Browse files

canbus: isotp: fix size_t format specifier



Fix the format specifier for logging size_t values.

Signed-off-by: default avatarHenrik Brix Andersen <henrik@brixandersen.dk>
parent ab2515ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1177,7 +1177,7 @@ static int send(struct isotp_send_ctx *ctx, const struct device *can_dev,
	z_init_timeout(&ctx->timeout);

	len = get_ctx_data_length(ctx);
	LOG_DBG("Send %d bytes to addr 0x%x and listen on 0x%x", len,
	LOG_DBG("Send %zu bytes to addr 0x%x and listen on 0x%x", len,
		ctx->tx_addr.ext_id, ctx->rx_addr.ext_id);
	if (len > ISOTP_CAN_DL - (tx_addr->use_ext_addr ? 2 : 1)) {
		ret = attach_fc_filter(ctx);