summaryrefslogtreecommitdiff
path: root/arch/blackfin/lib/post.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/lib/post.c')
-rw-r--r--arch/blackfin/lib/post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/lib/post.c b/arch/blackfin/lib/post.c
index faf6b96ba2..bd6aaf5d4d 100644
--- a/arch/blackfin/lib/post.c
+++ b/arch/blackfin/lib/post.c
@@ -168,7 +168,7 @@ static void post_get_flags(int *test_flags)
}
for (i = 0; i < varnum; i++) {
- if (getenv_r(var[i], list, sizeof(list)) <= 0)
+ if (getenv_f(var[i], list, sizeof(list)) <= 0)
continue;
for (j = 0; j < post_list_size; j++) {