summaryrefslogtreecommitdiff
path: root/board/atmel/atstk1000/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/atstk1000/flash.c')
-rw-r--r--board/atmel/atstk1000/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/atstk1000/flash.c b/board/atmel/atstk1000/flash.c
index 12537f3142..e2bfd4aff2 100644
--- a/board/atmel/atstk1000/flash.c
+++ b/board/atmel/atstk1000/flash.c
@@ -70,7 +70,7 @@ unsigned long flash_init(void)
void flash_print_info(flash_info_t *info)
{
- printf("Flash: Vendor ID: 0x%02x, Product ID: 0x%02x\n",
+ printf("Flash: Vendor ID: 0x%02lx, Product ID: 0x%02lx\n",
info->flash_id >> 16, info->flash_id & 0xffff);
printf("Size: %ld MB in %d sectors\n",
info->size >> 10, info->sector_count);