summaryrefslogtreecommitdiffstats
path: root/utils/atj2137
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-10-31 18:02:41 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-10-31 18:02:41 +0100
commit791be56cff14a7a41774ce80ce401384291985d9 (patch)
treef1e4b9247fb38aca320f1b77800d8f8b4c99ec29 /utils/atj2137
parente3cc0caf895e1127eb547dd33ae5256b3aa413ce (diff)
downloadrockbox-791be56cff14a7a41774ce80ce401384291985d9.tar.gz
rockbox-791be56cff14a7a41774ce80ce401384291985d9.tar.bz2
rockbox-791be56cff14a7a41774ce80ce401384291985d9.zip
atjbootool: fix date printing
Change-Id: If5cd0d79e4afb12224932b24c63b016636c7a56e
Diffstat (limited to 'utils/atj2137')
-rw-r--r--utils/atj2137/atjboottool/atjboottool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/atj2137/atjboottool/atjboottool.c b/utils/atj2137/atjboottool/atjboottool.c
index 53b56a5d56..44bf875309 100644
--- a/utils/atj2137/atjboottool/atjboottool.c
+++ b/utils/atj2137/atjboottool/atjboottool.c
@@ -1135,7 +1135,7 @@ static int do_afi(uint8_t *buf, int size)
cprintf_field(" Version: ", "%x.%x\n", afi->hdr.ver_id[0], afi->hdr.ver_id[1]);
cprintf_field(" Ext Version: ", "%x.%x\n", afi->hdr.ext_ver_id[0],
afi->hdr.ext_ver_id[1]);
- cprintf_field(" Date: ", "%x/%x/%x%x\n", afi->hdr.day, afi->hdr.month,
+ cprintf_field(" Date: ", "%02x/%02x/%02x%02x\n", afi->hdr.day, afi->hdr.month,
afi->hdr.year[0], afi->hdr.year[1]);
cprintf_field(" AFI size: ", "%d ", afi->hdr.afi_size);