summaryrefslogtreecommitdiff
path: root/common/cmd_nvedit.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-13 19:51:00 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 19:51:00 +0200
commitd5996dd555edf52721b7691a4c59de016251ed39 (patch)
treeb22b9dceee9d79106c4bb19bc115121d33da0d82 /common/cmd_nvedit.c
parent0f9d5f6d6e814907794995c6a22af752040c35d9 (diff)
downloadu-boot-imx-d5996dd555edf52721b7691a4c59de016251ed39.zip
u-boot-imx-d5996dd555edf52721b7691a4c59de016251ed39.tar.gz
u-boot-imx-d5996dd555edf52721b7691a4c59de016251ed39.tar.bz2
Fix some more printf() format problems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r--common/cmd_nvedit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index aaf6d98..7089706 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -99,7 +99,8 @@ int do_printenv (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
}
- printf("\nEnvironment size: %d/%ld bytes\n", i, ENV_SIZE);
+ printf("\nEnvironment size: %d/%ld bytes\n",
+ i, (ulong)ENV_SIZE);
return 0;
}