diff options
author | Szymon Janc <ext.szymon.janc@tieto.com> | 2016-01-28 18:21:55 +0100 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2016-02-05 20:25:28 -0500 |
commit | 47f0279502ca620687bd33f100077797204147eb (patch) | |
tree | 4aa8a303f2d351082a67ac0215389326585b666a /samples | |
parent | 719e8e471055e074ce99e2cd9ac4e0e79f56a3f4 (diff) |
Bluetooth: samples/shell: Fix printk modifier
Use %d for printing signed integer.
Change-Id: I6fbf387969e97561430ea0d2d422842c599f1457
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/bluetooth/shell/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bluetooth/shell/src/main.c b/samples/bluetooth/shell/src/main.c index efd6134e2..79b529fe8 100644 --- a/samples/bluetooth/shell/src/main.c +++ b/samples/bluetooth/shell/src/main.c @@ -1420,7 +1420,7 @@ static void cmd_l2cap_send(int argc, char *argv[]) memcpy(net_buf_add(buf, len), buf_data, len); ret = bt_l2cap_chan_send(&l2cap_chan, buf); if (ret < 0) { - printk("Unable to send: %u\n", -ret); + printk("Unable to send: %d\n", -ret); net_buf_unref(buf); break; } |