rcu: fix format specifier in dump
authorHonnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Mon, 3 Jun 2019 20:46:45 +0000 (15:46 -0500)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Jun 2019 12:41:34 +0000 (14:41 +0200)
commitb9444280003a0cc758b63e9797ffc822a9ae2548
tree9afe81c9be2299029a575277fb3858759fce3bf4
parent752fc771e594a808e7840d78c877c6865a9ef960
rcu: fix format specifier in dump

Use %u to fix argument type mismatch in fprintf.

Coverity issue: 340074
Fixes: 64994b56cfd7 ("rcu: add RCU library supporting QSBR mechanism")
Cc: stable@dpdk.org
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
lib/librte_rcu/rte_rcu_qsbr.c