]> git.sur5r.net Git - u-boot/blobdiff - cmd/itest.c
cmd: Kconfig: Move CONFIG_MP to Kconfig
[u-boot] / cmd / itest.c
index e1896d9f9728df3f8195d6d4a11321c5f67723b1..fd6f4166f16cf1dad96a681892ce5f96b3fc0352 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2003
  * Tait Electronics Limited, Christchurch, New Zealand
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -101,7 +100,7 @@ static char * evalstr(char *s)
                        i++;
                }
                s[i] = 0;
-               return  getenv((const char *)&s[2]);
+               return  env_get((const char *)&s[2]);
        } else {
                return s;
        }