libctf: disambiguate hex output in dumps
authorNick Alcock <nick.alcock@oracle.com>
Thu, 27 Jun 2019 12:15:37 +0000 (13:15 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 1 Jul 2019 10:05:59 +0000 (11:05 +0100)
commitc550e7ba937e6a5e04c17275efc362a74f8fd1b1
treedc5fcab486d821c4f7664b80417224c37d14ed52
parent900e33b9cf45dd70012af7fc509119edebb93339
libctf: disambiguate hex output in dumps

We were sometimes printing hex values without prefixing them with '0x',
leading to confusion about what base the numbers were actually in.

libctf/
* ctf-dump.c (ctf_dump_format_type): Prefix hex strings with 0x.
(ctf_dump_funcs): Likewise.
libctf/ChangeLog
libctf/ctf-dump.c