]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/boot/dtc-src/fstree.c
powerpc: Update in-kernel dtc and libfdt to version 1.2.0
[linux-2.6-omap-h63xx.git] / arch / powerpc / boot / dtc-src / fstree.c
index 2a160a46998ee99ad3189a948a5f6894a63e75a6..766b2694d93589fe39ea6313dbae7b1ce5a21daa 100644 (file)
@@ -31,8 +31,8 @@ static struct node *read_fstree(const char *dirname)
        struct node *tree;
 
        d = opendir(dirname);
-       if (! d)
-               die("opendir(): %s\n", strerror(errno));
+       if (!d)
+               die("Couldn't opendir() \"%s\": %s\n", dirname, strerror(errno));
 
        tree = build_node(NULL, NULL);
 
@@ -87,8 +87,6 @@ struct boot_info *dt_from_fs(const char *dirname)
        tree = read_fstree(dirname);
        tree = name_node(tree, "", NULL);
 
-       fill_fullpaths(tree, "");
-
-       return build_boot_info(NULL, tree);
+       return build_boot_info(NULL, tree, 0);
 }