提交 82919517 编写于 作者: H Heinrich Schuchardt 提交者: Tom Rini

cmd: nvedit: use correct format code

len is defined as unsigned. So use %u for printf().
Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
上级 b1970013
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册