summaryrefslogtreecommitdiff
path: root/board/armadillo/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/armadillo/flash.c')
-rw-r--r--board/armadillo/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/armadillo/flash.c b/board/armadillo/flash.c
index 037a643..8518856 100644
--- a/board/armadillo/flash.c
+++ b/board/armadillo/flash.c
@@ -279,7 +279,7 @@ int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
int i, rc;
wp = (addr & ~1); /* get lower word aligned address */
- printf ("Writing %d short data to 0x%p from 0x%p.\n ", cnt, wp, src);
+ printf ("Writing %lu short data to 0x%lx from 0x%p.\n ", cnt, wp, src);
/*
* handle unaligned start bytes