diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-10-31 18:02:41 +0100 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-10-31 18:02:41 +0100 |
| commit | 791be56cff14a7a41774ce80ce401384291985d9 (patch) | |
| tree | f1e4b9247fb38aca320f1b77800d8f8b4c99ec29 /utils | |
| parent | e3cc0caf895e1127eb547dd33ae5256b3aa413ce (diff) | |
| download | rockbox-791be56cff14a7a41774ce80ce401384291985d9.zip rockbox-791be56cff14a7a41774ce80ce401384291985d9.tar.gz rockbox-791be56cff14a7a41774ce80ce401384291985d9.tar.bz2 rockbox-791be56cff14a7a41774ce80ce401384291985d9.tar.xz | |
atjbootool: fix date printing
Change-Id: If5cd0d79e4afb12224932b24c63b016636c7a56e
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/atj2137/atjboottool/atjboottool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/atj2137/atjboottool/atjboottool.c b/utils/atj2137/atjboottool/atjboottool.c index 53b56a5..44bf875 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); |