summaryrefslogtreecommitdiff
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
parent66da6fa0e35e7ee56628c85981709afe7180fc8e (diff)
nios2/sysid: fix printf warning
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-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 b5a29593e..697ed03a2 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);
}