summaryrefslogtreecommitdiff
path: root/common/splash.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/splash.c')
-rw-r--r--common/splash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/splash.c b/common/splash.c
index 89af437f2c..d251b3b654 100644
--- a/common/splash.c
+++ b/common/splash.c
@@ -60,7 +60,7 @@ __weak int splash_screen_prepare(void)
#ifdef CONFIG_SPLASH_SCREEN_ALIGN
void splash_get_pos(int *x, int *y)
{
- char *s = getenv("splashpos");
+ char *s = env_get("splashpos");
if (!s)
return;