diff --git a/tools/parser/avrcp.c b/tools/parser/avrcp.c
index 2f760b1..4a3663d 100644
--- a/tools/parser/avrcp.c
+++ b/tools/parser/avrcp.c
p_indent(level, frm);
- count = get_u32(frm);
- printf("AttributeCount: 0x%04x (%u)", count, count);
+ count = get_u8(frm);
+ printf("AttributeCount: 0x%02x (%u)\n", count, count);
for (; count > 0; count--) {
uint32_t attr;
p_indent(level, frm);
- count = get_u32(frm);
- printf("AttributeCount: 0x%04x (%u)", count, count);
+ count = get_u8(frm);
+ printf("AttributeCount: 0x%02x (%u)\n", count, count);
avrcp_attribute_entry_list_dump(level, frm, count);
}