From 2bc4d1e8e26f40efd841e20f4fec42be0e311368 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 2 Oct 2018 11:08:17 -0600 Subject: [PATCH] apps/nshlib/nsh_parse.c: Fix a warning (really a bug) detected in build testing. --- nshlib/nsh_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_parse.c b/nshlib/nsh_parse.c index 8afd33116..a0ec6f9cd 100644 --- a/nshlib/nsh_parse.c +++ b/nshlib/nsh_parse.c @@ -1269,7 +1269,7 @@ static FAR char *nsh_argexpand(FAR struct nsh_vtbl_s *vtbl, FAR char *cmdline, else #endif -#ifdef CONFIG_NSH_VARS +#ifdef NSH_HAVE_VARS /* Check if we encountered a reference to an environment variable */ if (*ptr == '$')