summaryrefslogtreecommitdiffstats
path: root/commands/of_diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/of_diff.c')
-rw-r--r--commands/of_diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/of_diff.c b/commands/of_diff.c
index d9d84fd4bf..fa99fcd641 100644
--- a/commands/of_diff.c
+++ b/commands/of_diff.c
@@ -44,7 +44,7 @@ static struct device_node *get_tree(const char *filename, struct device_node *ro
if (ret)
return ERR_PTR(ret);
- node = of_unflatten_dtb(fdt);
+ node = of_unflatten_dtb(fdt, size);
free(fdt);