From 634f96e2d111820a6b02ca3027c3106a7dfd5d6b Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 31 Mar 2017 20:12:00 +0200 Subject: Use correct format letter Signed-off-by: Szczepan Zalega --- misc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.cc b/misc.cc index 0c71de2..24f8514 100644 --- a/misc.cc +++ b/misc.cc @@ -47,7 +47,7 @@ namespace misc { for (const char *pend = p + size; p < pend;) { if (print_header){ - snprintf(formatbuf, 128, "%04dx\t", static_cast (p - pstart)); + snprintf(formatbuf, 128, "%04x\t", static_cast (p - pstart)); out << formatbuf; } -- cgit v1.2.1