projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f77a606
)
cmd_pxe: remove compiling warnings
author
David Feng
<fenghua@phytium.com.cn>
Sat, 14 Dec 2013 03:47:30 +0000
(11:47 +0800)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Thu, 9 Jan 2014 15:08:11 +0000
(16:08 +0100)
Signed-off-by: David Feng <fenghua@phytium.com.cn>
common/cmd_pxe.c
patch
|
blob
|
history
diff --git
a/common/cmd_pxe.c
b/common/cmd_pxe.c
index db6b156985b735c2287192c66b695f2ccbae4af2..c27ec354cc597ba808f8667943623adee23b75dd 100644
(file)
--- 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 (%
z
d < 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 < %z
d)\n",
bootfile_path_size, path_len);
return -1;