diff options
Diffstat (limited to 'arch/powerpc/boot/dtc-src/fstree.c')
-rw-r--r-- | arch/powerpc/boot/dtc-src/fstree.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/boot/dtc-src/fstree.c b/arch/powerpc/boot/dtc-src/fstree.c index 2a160a46998e..766b2694d935 100644 --- a/arch/powerpc/boot/dtc-src/fstree.c +++ b/arch/powerpc/boot/dtc-src/fstree.c | |||
@@ -31,8 +31,8 @@ static struct node *read_fstree(const char *dirname) | |||
31 | struct node *tree; | 31 | struct node *tree; |
32 | 32 | ||
33 | d = opendir(dirname); | 33 | d = opendir(dirname); |
34 | if (! d) | 34 | if (!d) |
35 | die("opendir(): %s\n", strerror(errno)); | 35 | die("Couldn't opendir() \"%s\": %s\n", dirname, strerror(errno)); |
36 | 36 | ||
37 | tree = build_node(NULL, NULL); | 37 | tree = build_node(NULL, NULL); |
38 | 38 | ||
@@ -87,8 +87,6 @@ struct boot_info *dt_from_fs(const char *dirname) | |||
87 | tree = read_fstree(dirname); | 87 | tree = read_fstree(dirname); |
88 | tree = name_node(tree, "", NULL); | 88 | tree = name_node(tree, "", NULL); |
89 | 89 | ||
90 | fill_fullpaths(tree, ""); | 90 | return build_boot_info(NULL, tree, 0); |
91 | |||
92 | return build_boot_info(NULL, tree); | ||
93 | } | 91 | } |
94 | 92 | ||