[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120418064659.GC27966@ritirata.org>
Date: Wed, 18 Apr 2012 08:47:00 +0200
From: Antonio Quartulli <ordex@...istici.org>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, b.a.t.m.a.n@...ts.open-mesh.org
Subject: Re: [PATCH 10/11] batman-adv: print OGM seq numbers as unsigned long
On Tue, Apr 17, 2012 at 10:47:46 -0400, David Miller wrote:
> From: Antonio Quartulli <ordex@...istici.org>
> Date: Tue, 17 Apr 2012 13:58:26 +0200
>
> > OGM sequence numbers are declared as uint32_t and so they have to printed
> > using %u instead of %d in order to avoid wrong representations.
> >
> > Signed-off-by: Antonio Quartulli <ordex@...istici.org>
>
> Fix this commit message subject, "%u" is "unsigned int" not
> "unsigned long"
>
> "unsigned long" would be "%lu"
Yap. The broken part is %u, because the data type we are going to print is
uint32_t. I'll fix it.
Thank you.
I'll send a new pull request once I'll have fixed these errors.
Cheers,
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists