X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/01c1907dff86c12d5296cfb201101caa5c88423b..bddc7e77b0de0cfd5e7e98f8915552c2c83edb9f:/avr/cli.c diff --git a/avr/cli.c b/avr/cli.c index 1a26206..77876af 100644 --- a/avr/cli.c +++ b/avr/cli.c @@ -177,7 +177,7 @@ char *process_macros(char *input, char *output) if (c == '}') { /* Terminate variable name */ *(inp-1) = '\0'; - const char *envval = getenv_char(varname); + const char *envval = getenv_str(varname); *(inp-1) = '}'; /* Copy into the line if it exists */ if (envval != NULL) @@ -210,7 +210,7 @@ char *process_macros(char *input, char *output) * WARNING: * * We must create a temporary copy of the command since the command we get - * may be the result from getenv_char(), which returns a pointer directly to + * may be the result from getenv_str(), which returns a pointer directly to * the environment data, which may change magicly when the command we run * creates or modifies environment variables (like "bootp" does). *