Commit 42858beb authored by Marc Lasch's avatar Marc Lasch Committed by Carles Cufi
Browse files

mgmt/mcumgr: Fix format specifier

Use c99 format specifier macros to remove build warnings when building
for `native_posix[_64]`.

Signed-off-by: default avatarMarc Lasch <marc.lasch@husqvarnagroup.com>
parent 7ac8dd87
Loading
Loading
Loading
Loading
+1 −1
Changes for subsys/mgmt/mcumgr/smp_bt.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ static ssize_t smp_bt_chr_write(struct bt_conn *conn,
	}

	if (net_buf_tailroom(nb) < len) {
		LOG_DBG("SMP packet len (%zu) > net_buf len (%zu)",
		LOG_DBG("SMP packet len (%" PRIu16 ") > net_buf len (%zu)",
			len, net_buf_tailroom(nb));
		mcumgr_buf_free(nb);
		return BT_GATT_ERR(BT_ATT_ERR_INSUFFICIENT_RESOURCES);