aboutsummaryrefslogtreecommitdiff
path: root/env/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/common.c')
-rw-r--r--env/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/common.c b/env/common.c
index 4e70baa..8beb8e6 100644
--- a/env/common.c
+++ b/env/common.c
@@ -544,7 +544,7 @@ void env_import_fdt(void)
res = ofnode_next_property(&prop)) {
const char *name, *val;
- val = ofnode_get_property_by_prop(&prop, &name, NULL);
+ val = ofprop_get_property(&prop, &name, NULL);
env_set(name, val);
}
}