summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDavid Feng <fenghua@phytium.com.cn>2013-12-14 11:47:30 +0800
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-01-09 16:08:11 +0100
commit5cea95cb53c7192c3ab9cb61634fa1a1f33649f4 (patch)
tree0dd912cd231747f92813412734895e6f09b58a42 /common
parentf77a606a0602be5d1fe23e8dcdfa5defde51dfd7 (diff)
downloadu-boot-imx-5cea95cb53c7192c3ab9cb61634fa1a1f33649f4.zip
u-boot-imx-5cea95cb53c7192c3ab9cb61634fa1a1f33649f4.tar.gz
u-boot-imx-5cea95cb53c7192c3ab9cb61634fa1a1f33649f4.tar.bz2
cmd_pxe: remove compiling warnings
Signed-off-by: David Feng <fenghua@phytium.com.cn>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_pxe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index db6b156..c27ec35 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -59,7 +59,7 @@ static int format_mac_pxe(char *outbuf, size_t outbuf_len)
uchar ethaddr[6];
if (outbuf_len < 21) {
- printf("outbuf is too small (%d < 21)\n", outbuf_len);
+ printf("outbuf is too small (%zd < 21)\n", outbuf_len);
return -EINVAL;
}
@@ -103,7 +103,7 @@ static int get_bootfile_path(const char *file_path, char *bootfile_path,
path_len = (last_slash - bootfile) + 1;
if (bootfile_path_size < path_len) {
- printf("bootfile_path too small. (%d < %d)\n",
+ printf("bootfile_path too small. (%zd < %zd)\n",
bootfile_path_size, path_len);
return -1;