diff options
Diffstat (limited to 'common/cli.c')
-rw-r--r-- | common/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cli.c b/common/cli.c index a433ef21663..57874d87977 100644 --- a/common/cli.c +++ b/common/cli.c @@ -129,7 +129,7 @@ int do_run(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) for (i = 1; i < argc; ++i) { char *arg; - arg = getenv(argv[i]); + arg = env_get(argv[i]); if (arg == NULL) { printf("## Error: \"%s\" not defined\n", argv[i]); return 1; |