summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-10-01 09:51:56 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-10-01 09:51:56 +0200
commit884988f6d620a718c11cfbcccda0cb5be284be6f (patch)
tree98574dc4f4c11090f1cc96c5645d9cc91ead8454 /arch
parent153cf7bb6e84c9a3f557c594b585c73f94604fb0 (diff)
downloadbarebox-884988f6d620a718c11cfbcccda0cb5be284be6f.tar.gz
barebox-884988f6d620a718c11cfbcccda0cb5be284be6f.tar.xz
fix read_file()
Diffstat (limited to 'arch')
-rw-r--r--arch/ppc/lib/ppclinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/lib/ppclinux.c b/arch/ppc/lib/ppclinux.c
index dcd40c2257..ba1a2fd8f9 100644
--- a/arch/ppc/lib/ppclinux.c
+++ b/arch/ppc/lib/ppclinux.c
@@ -104,7 +104,7 @@ do_bootm_linux(struct image_handle *os_handle, struct image_handle *initrd_handl
if (oftree_handle) {
of_data = oftree_handle->data;
} else {
- of_data = read_file(oftree);
+ of_data = read_file(oftree, 0);
if (!of_data) {
printf("could not read %s: %s\n", oftree, errno_str());
return -1;