]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
util: fix warning on format string
authorEric Leblond <eric@regit.org>
Sat, 25 Jan 2014 10:46:52 +0000 (11:46 +0100)
committerEric Leblond <eric@regit.org>
Sat, 25 Jan 2014 18:17:56 +0000 (19:17 +0100)
commita69b30c6f9b9d65ad9e3cba64c98eff3e1538c33
tree4a424fdf168628c263a0ce6152519f3dda91e91d
parent05ef694c3e845a4c6babcaa59d3bf7a6f507866b
util: fix warning on format string

pp_print macro was not correctly formatting u64. This patch renames
it to pp_print_u as it is only used to print integer. It also use
the PRIu* macros to have a correct format string for all integers
type.
util/printflow.c