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:
Heinrich Schuchardt 2019-01-06 11:52:06 +01:00 committed by Tom Rini
parent b1970013d4
commit 82919517fb

View File

@ -708,8 +708,8 @@ int env_get_f(const char *name, char *buf, unsigned len)
if (n)
*--buf = '\0';
printf("env_buf [%d bytes] too small for value of \"%s\"\n",
len, name);
printf("env_buf [%u bytes] too small for value of \"%s\"\n",
len, name);
return n;
}