diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index aa9de3a4ea..b2c88babc4 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -532,7 +532,8 @@ int getenv_f(char *name, char *buf, unsigned len) if (n) *--buf = '\0'; - printf("env_buf too small [%d]\n", len); + printf("env_buf [%d bytes] too small for value of \"%s\"\n", + len, name); return n; }