]> git.sur5r.net Git - u-boot/blobdiff - post/post.c
efi_loader: efi_disk: check return value of calloc
[u-boot] / post / post.c
index 8c2c822acbd2c51e6a814f5125ef96fafc8bf253..8fef0c34127d2a635cbe83db5895ad1f819ff8a9 100644 (file)
@@ -180,7 +180,7 @@ static void post_get_env_flags(int *test_flags)
        int i, j;
 
        for (i = 0; i < varnum; i++) {
-               if (getenv_f(var[i], list, sizeof(list)) <= 0)
+               if (env_get_f(var[i], list, sizeof(list)) <= 0)
                        continue;
 
                for (j = 0; j < post_list_size; j++)