mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
nios2/sysid: fix printf warning
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
66da6fa0e3
commit
4cd7e6528f
@ -40,7 +40,7 @@ void display_sysid (void)
|
|||||||
stamp = readl (&sysid->timestamp);
|
stamp = readl (&sysid->timestamp);
|
||||||
localtime_r (&stamp, &t);
|
localtime_r (&stamp, &t);
|
||||||
asctime_r (&t, asc);
|
asctime_r (&t, asc);
|
||||||
printf ("SYSID : %08x, %s", readl (&sysid->id), asc);
|
printf ("SYSID : %08lx, %s", readl (&sysid->id), asc);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user