diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-11 01:16:00 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-11 01:16:00 +0200 |
commit | 9b55a2536919f4de1bb1044e6eb8262c2f53bc96 (patch) | |
tree | 56a8a946f45094770f1f4b3e10b2344191c6c40c /common/cmd_nand.c | |
parent | 4109df6f75fc00ab7da56d286ba50149a0d16a69 (diff) | |
download | u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.zip u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.tar.gz u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.tar.bz2 |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c index cc7c5ba..9e38bf7 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, |