Skip to contentSkip to conversation

common/cmd_nvedit.c: Add missing 'env save' preproc guard

PATCH New Horst Kronstorfer 2 participants 2 messages Dec 10, 2011 – Dec 12, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common/cmd_nvedit.c: Add missing 'env save' preproc guard

---
 common/cmd_nvedit.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
common/cmd_nvedit.c +2 -0
index 5995354..baaa513 100644
@@ -977,7 +977,9 @@ U_BOOT_CMD(
 #if defined(CONFIG_CMD_RUN)
 	"env run var [...] - run commands in an environment variable\n"
 #endif
+#if defined(CONFIG_CMD_SAVEENV) && !defined(CONFIG_ENV_IS_NOWHERE)
 	"env save - save environment\n"
+#endif
 	"env set [-f] name [arg ...]\n"
 );
 
Signature · 1 line
1.7.7.3
#1 lore raw

PATCH 1/1 common/cmd_nvedit.c: Add missing 'env save' preproc guard

Dear Horst Kronstorfer,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 common/cmd_nvedit.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Where would we be without rhetorical questions?