summaryrefslogtreecommitdiffstats
path: root/common/oftree.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/oftree.c')
-rw-r--r--common/oftree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/oftree.c b/common/oftree.c
index 475d418849..aff4c28852 100644
--- a/common/oftree.c
+++ b/common/oftree.c
@@ -100,7 +100,7 @@ void of_print_property(const void *data, int len)
void of_print_cmdline(struct device_node *root)
{
- struct device_node *node = of_find_node_by_path(root, "/chosen");
+ struct device_node *node = of_find_node_by_path("/chosen");
const char *cmdline;
if (!node) {