Skip to content

Commit 6735f11

Browse files
cfriedtnashif
authored andcommitted
Bluetooth: Audio: otc: update print format specifier for atomics
Atomics changed from `int` to `long` and print format specifiers must be updated as well. Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
1 parent ed7eec4 commit 6735f11

File tree

1 file changed

+1
-1
lines changed
  • subsys/bluetooth/audio

1 file changed

+1
-1
lines changed

subsys/bluetooth/audio/otc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,5 +1645,5 @@ static void l2cap_status(struct bt_l2cap_chan *chan, atomic_t *status)
16451645
{
16461646
int credits = atomic_get(&l2ch_chan.ch.tx.credits);
16471647

1648-
BT_DBG("Channel %p status %u, credits %d", chan, *status, credits);
1648+
BT_DBG("Channel %p status %lu, credits %d", chan, *status, credits);
16491649
}

0 commit comments

Comments
 (0)