From 791be56cff14a7a41774ce80ce401384291985d9 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Fri, 31 Oct 2014 18:02:41 +0100 Subject: atjbootool: fix date printing Change-Id: If5cd0d79e4afb12224932b24c63b016636c7a56e --- utils/atj2137/atjboottool/atjboottool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3