mbuf: fix dump format
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Mon, 20 Jun 2016 10:44:35 +0000 (12:44 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 24 Jun 2016 09:01:05 +0000 (11:01 +0200)
commit5590a60241d254f46fce973efb8b55e8712f75f5
tree003f57b351724561aabc134c064e6946f33e669b
parent152ca517900b39defec76796ca4e806c9e6d96a2
mbuf: fix dump format

Do not add 0x when using %p in format strings to avoid dump messages
with double 0x0x, e.g.,

  dump mbuf at 0x0x7fac7b17c800, phys=17b17c880, buf_len=2176
    pkt_len=2064, ol_flags=0, nb_segs=1, in_port=255
    segment at 0x0x7fac7b17c800, data=0x0x7fac7b17c8f0, data_len=2064

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
lib/librte_mbuf/rte_mbuf.c