From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 2 Aug 2008 21:48:32 +0000 (+0200) Subject: nios2/sysid: fix printf warning X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4cd7e6528f61ec669755c3754bb4f9779874fab3;p=u-boot.git nios2/sysid: fix printf warning Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/cpu/nios2/sysid.c b/cpu/nios2/sysid.c index b5a29593ea..697ed03a2c 100644 --- a/cpu/nios2/sysid.c +++ b/cpu/nios2/sysid.c @@ -40,7 +40,7 @@ void display_sysid (void) stamp = readl (&sysid->timestamp); localtime_r (&stamp, &t); asctime_r (&t, asc); - printf ("SYSID : %08x, %s", readl (&sysid->id), asc); + printf ("SYSID : %08lx, %s", readl (&sysid->id), asc); }