From 87420ada414a8d73e471dddb8a788a84a44553d7 Mon Sep 17 00:00:00 2001 From: Andre Dieb Martins Date: Wed, 30 Mar 2011 11:01:32 -0300 Subject: [PATCH] hcidump: Fix handle formatting for ATT Handle Notify --- tools/parser/att.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/parser/att.c b/tools/parser/att.c index 5bff92531..a1cd9af8c 100644 --- a/tools/parser/att.c +++ b/tools/parser/att.c @@ -512,7 +512,7 @@ static void att_handle_notify_dump(int level, struct frame *frm) uint16_t handle = btohs(htons(get_u16(frm))); p_indent(level, frm); - printf("handle 0x%2.2x\n", handle); + printf("handle 0x%4.4x\n", handle); p_indent(level, frm); printf("value "); -- 2.47.3