summaryrefslogtreecommitdiff
path: root/cpu/nios2
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-02 23:48:32 +0200
committerWolfgang Denk <wd@denx.de>2008-08-03 02:24:46 +0200
commit4cd7e6528f61ec669755c3754bb4f9779874fab3 (patch)
treec329aee5e647eb985d96df49081fa74c1aa7fe1f /cpu/nios2
parent66da6fa0e35e7ee56628c85981709afe7180fc8e (diff)
downloadu-boot-imx-4cd7e6528f61ec669755c3754bb4f9779874fab3.zip
u-boot-imx-4cd7e6528f61ec669755c3754bb4f9779874fab3.tar.gz
u-boot-imx-4cd7e6528f61ec669755c3754bb4f9779874fab3.tar.bz2
nios2/sysid: fix printf warning
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/nios2')
-rw-r--r--cpu/nios2/sysid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/nios2/sysid.c b/cpu/nios2/sysid.c
index b5a2959..697ed03 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);
}