eal: fix usage of printf-like functions
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 20 Jun 2014 23:34:30 +0000 (00:34 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 27 Jun 2014 00:31:08 +0000 (02:31 +0200)
commite8ed6c78177fbbafa326d9efc590a51705848200
tree7e98cac5a638c6e1cabf1ac477b31300575c534d
parente9199e82fcd210a64d0c34ebcab78d714dc4b453
eal: fix usage of printf-like functions

Mark the rte_log, cmdline_printf and rte_snprintf functions as
being printf-style functions. This causes compilation errors
due to mis-matched parameter types, so the parameter types are
fixed where appropriate.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
17 files changed:
app/cmdline_test/commands.c
app/test/test_cmdline_etheraddr.c
app/test/test_eal_flags.c
app/test/test_ivshmem.c
app/test/test_mp_secondary.c
examples/exception_path/main.c
examples/netmap_compat/lib/compat_netmap.c
examples/qos_sched/args.c
examples/qos_sched/init.c
examples/qos_sched/main.c
lib/librte_cmdline/cmdline.h
lib/librte_eal/common/include/rte_log.h
lib/librte_eal/common/include/rte_string_fns.h
lib/librte_eal/linuxapp/eal/eal_ivshmem.c
lib/librte_ivshmem/rte_ivshmem.c
lib/librte_kni/rte_kni.c
lib/librte_pmd_i40e/i40e_ethdev.c