commit | 29395b7e38cf618144929f05f82a9e306c923c14 | [log] [tgz] |
---|---|---|
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | Sat Aug 02 23:48:32 2008 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Sun Aug 03 02:24:46 2008 +0200 |
tree | c329aee5e647eb985d96df49081fa74c1aa7fe1f | |
parent | 0440e5a336e4c8347bf44a276ac92b83d56e6dd0 [diff] |
nios2/sysid: fix printf warning Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
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 @@ 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); }