summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2011-05-23 17:37:41 -0700
committerSimon Glass <sjg@chromium.org>2011-08-24 10:01:51 -0700
commit67f48f6d0747f772756120d50a9af0ade28bdc3a (patch)
tree9261beea53e18fb807d85b3f62866bfcc4293f39
parent12e7dacd7512bb1235f9cfddbacc0d4dd79ee438 (diff)
The type expected by %zd is ssize_t, but it was being passed a size_t.
BUG=chrome-os-partner:3905 TEST=Built coreboot u-boot. Signed-off-by: Gabe Black <gabeblack@google.com> Change-Id: Ib5addf9034b25cc33fae539d9689e5b5a37dffaf Reviewed-on: http://gerrit.chromium.org/gerrit/2015 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
-rw-r--r--common/cmd_nvedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index b2c88babc41..673bfa1d121 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -810,7 +810,7 @@ static int do_env_import(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv
" - truncated\n", MAX_ENV_SIZE);
}
++size;
- printf("## Info: input data size = %zd = 0x%zX\n", size, size);
+ printf("## Info: input data size = %zu = 0x%zX\n", size, size);
}
if (chk) {