aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc.cc2
1 files changed, 1 insertions, 1 deletions
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<int> (p - pstart));
+ snprintf(formatbuf, 128, "%04x\t", static_cast<int> (p - pstart));
out << formatbuf;
}