commit | cf80bd73ef032faf73cfacf5baa71afbab7ef4b8 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Jan 06 11:52:06 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Jan 15 15:28:43 2019 -0500 |
tree | 2067426b6b5bbfe9aa9b6d308470117e8471eb97 | |
parent | ec8dfc398021395f6d8918f32e9146f945acdcee [diff] |
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>
diff --git a/cmd/nvedit.c b/cmd/nvedit.c index de16c72..ebaa16b 100644 --- a/cmd/nvedit.c +++ b/cmd/nvedit.c
@@ -708,8 +708,8 @@ 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; }