Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- commands/oftree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/oftree.c b/commands/oftree.c index 00e54dc..475f019 100644 --- a/commands/oftree.c +++ b/commands/oftree.c @@ -164,7 +164,7 @@ static int do_oftree(int argc, char *argv[]) of_print_nodes(root, 0); of_delete_node(root); } else { - struct device_node *n = of_find_node_by_path(node); + struct device_node *n = of_find_node_by_path_or_alias(NULL, node); if (!n) { ret = -ENOENT; goto out; -- 1.8.4.rc2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox