X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=cmd%2Fitest.c;h=fd6f4166f16cf1dad96a681892ce5f96b3fc0352;hb=4a94e53b23031e6c1a7a03d0a863681002e06ffd;hp=e1896d9f9728df3f8195d6d4a11321c5f67723b1;hpb=f9515756b6d76cde99b385dda905dfb20d31ea48;p=u-boot diff --git a/cmd/itest.c b/cmd/itest.c index e1896d9f97..fd6f4166f1 100644 --- a/cmd/itest.c +++ b/cmd/itest.c @@ -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; }