Return-Path: Subject: Re: [PATCH 2/2] monitor: Format URI hash using 8 hex digits To: Marcel Holtmann , =?UTF-8?B?RnLDqWTDqXJpYyBEYWxsZWF1?= Cc: linux-bluetooth@vger.kernel.org References: <20170726054040.17970-1-frederic.dalleau@collabora.com> <20170726054040.17970-3-frederic.dalleau@collabora.com> <74268B4F-AF41-49D7-9296-A2FA0E665E24@holtmann.org> From: =?UTF-8?B?RnLDqWTDqXJpYyBEYWxsZWF1?= Message-ID: <891a8088-25bd-0c6d-0519-6d9aff8b834e@collabora.co.uk> Date: Wed, 26 Jul 2017 09:57:07 +0200 MIME-Version: 1.0 In-Reply-To: <74268B4F-AF41-49D7-9296-A2FA0E665E24@holtmann.org> Content-Type: text/plain; charset=utf-8; format=flowed List-ID: Oh, I wasn't sure, let me update. Regards, Fred On 26/07/2017 09:45, Marcel Holtmann wrote: > Hi Fred, > >> URI hash is a 32 bits value. >> --- >> monitor/packet.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/monitor/packet.c b/monitor/packet.c >> index f72fcab6a..994f5b259 100644 >> --- a/monitor/packet.c >> +++ b/monitor/packet.c >> @@ -3551,7 +3551,7 @@ static void print_mesh_beacon(const uint8_t *data, uint8_t len) >> break; >> } >> >> - print_field(" URI Hash: 0x%4.4x", get_be32(data + 19)); >> + print_field(" URI Hash: 0x%08x", get_be32(data + 19)); > > in btmon we use the 0x%8.8x notation then. > > Regards > > Marcel > > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >