aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-11 01:16:00 +0200
committerWolfgang Denk <wd@denx.de>2008-07-11 01:16:00 +0200
commit9b55a2536919f4de1bb1044e6eb8262c2f53bc96 (patch)
tree56a8a946f45094770f1f4b3e10b2344191c6c40c /common/cmd_nand.c
parent4109df6f75fc00ab7da56d286ba50149a0d16a69 (diff)
downloadu-boot-linaro-natty-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.tar.gz
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/cmd_nand.c')
-rw-r--r--common/cmd_nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index cc7c5ba24..9e38bf768 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -886,9 +886,9 @@ int do_nand (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
return 1;
}
- printf ("\nNAND %s: device %d offset %ld, size %ld ...\n",
+ printf ("\nNAND %s: device %d offset %ld, size %lu ...\n",
(cmd & NANDRW_READ) ? "read" : "write",
- curr_device, off, size);
+ curr_device, off, (ulong)size);
ret = nand_legacy_rw (nand_dev_desc + curr_device,
cmd, off, size,