summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/fit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/fit.c b/src/lib/fit.c
index 7f0fe6773a..3bfca57aab 100644
--- a/src/lib/fit.c
+++ b/src/lib/fit.c
@@ -178,7 +178,7 @@ static int fdt_find_compat(const void *blob, uint32_t start_offset,
int offset = start_offset;
int size;
- size = fdt_node_name(blob, offset, NULL);
+ size = fdt_next_node_name(blob, offset, NULL);
if (!size)
return -1;
offset += size;