cmd: nvedit: use correct format code
len is defined as unsigned. So use %u for printf(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
b1970013d4
commit
82919517fb
@ -708,8 +708,8 @@ int env_get_f(const char *name, char *buf, unsigned len)
|
|||||||
if (n)
|
if (n)
|
||||||
*--buf = '\0';
|
*--buf = '\0';
|
||||||
|
|
||||||
printf("env_buf [%d bytes] too small for value of \"%s\"\n",
|
printf("env_buf [%u bytes] too small for value of \"%s\"\n",
|
||||||
len, name);
|
len, name);
|
||||||
|
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user