diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-31 20:12:00 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-04-03 13:20:58 +0200 |
commit | 634f96e2d111820a6b02ca3027c3106a7dfd5d6b (patch) | |
tree | c03c178ec161d0ecf9c9ff5a73fc9efaf793b1a5 /misc.cc | |
parent | 5853af1966adf981f19510e06b3fb81cfb8d7b60 (diff) | |
download | libnitrokey-634f96e2d111820a6b02ca3027c3106a7dfd5d6b.tar.gz libnitrokey-634f96e2d111820a6b02ca3027c3106a7dfd5d6b.tar.bz2 |
Use correct format letter
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'misc.cc')
-rw-r--r-- | misc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |