diff mbox series

Bluetooth: hci_sync: Fix opcode format in debug message

Message ID 20220724212639.29269-1-ismael@iodev.co.uk
State New
Headers show
Series Bluetooth: hci_sync: Fix opcode format in debug message | expand

Commit Message

Ismael Luceno July 24, 2022, 9:26 p.m. UTC
Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
---
 net/bluetooth/hci_sync.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
index 351c2390164d..d86d819465e8 100644
--- a/net/bluetooth/hci_sync.c
+++ b/net/bluetooth/hci_sync.c
@@ -150,7 +150,7 @@ 
 	struct sk_buff *skb;
 	int err = 0;
 
-	bt_dev_dbg(hdev, "Opcode 0x%4x", opcode);
+	bt_dev_dbg(hdev, "Opcode 0x%04x", opcode);
 
 	hci_req_init(&req, hdev);