[PATCH] xfrm: use the right specifier for uint64_t
Thomas Haller
thaller at redhat.com
Mon Jul 21 11:03:39 PDT 2014
On Mon, 2014-07-21 at 10:44 -0700, Cong Wang wrote:
> This fixes compile warnings like this:
>
> xfrm/sp.c: In function 'xfrm_sp_dump_line':
> xfrm/sp.c:346:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' [-Wformat=]
> sprintf (dir, "%llu", sp->lft->soft_byte_limit);
>
> Cc: Thomas Haller <thaller at redhat.com>
> Signed-off-by: Cong Wang <xiyou.wangcong at gmail.com>
> ---
> lib/xfrm/sa.c | 8 ++++----
> lib/xfrm/sp.c | 8 ++++----
> 2 files changed, 8 insertions(+), 8 deletions(-)
merged as
https://github.com/thom311/libnl/commit/956b758f7e58f683a3c6a20118cf8d4d203f8085
Thanks Cong!!
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20140721/24a42911/attachment.sig>
More information about the libnl
mailing list