diff options
Diffstat (limited to 'avr/env.c')
-rw-r--r-- | avr/env.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -716,8 +716,8 @@ command_ret_t do_env_print(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, /* print selected env vars */ while (optind < argc) { - int rc = env_print(argv[optind], mode); - if (rc < 0) { + int len = env_print(argv[optind], mode); + if (len < 0) { printf_P(PSTR("## Error: \"%s\" not defined\n"), argv[optind]); rc = CMD_RET_FAILURE; } |