]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
nios2/sysid: fix printf warning
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 2 Aug 2008 21:48:32 +0000 (23:48 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 3 Aug 2008 00:24:46 +0000 (02:24 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/nios2/sysid.c

index b5a29593ea60f9d66226cbd6d3642b99d9b693e2..697ed03a2cbd464bf2800e47ee8a046a829971e2 100644 (file)
@@ -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);
 
 }