nios2/sysid: fix printf warning

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2008-08-02 23:48:32 +02:00 committed by Wolfgang Denk
parent 66da6fa0e3
commit 4cd7e6528f
1 changed files with 1 additions and 1 deletions

View 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);
}