diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-10-01 09:51:56 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2007-10-01 09:51:56 +0200 |
commit | 884988f6d620a718c11cfbcccda0cb5be284be6f (patch) | |
tree | 98574dc4f4c11090f1cc96c5645d9cc91ead8454 /arch | |
parent | 153cf7bb6e84c9a3f557c594b585c73f94604fb0 (diff) | |
download | barebox-884988f6d620a718c11cfbcccda0cb5be284be6f.tar.gz barebox-884988f6d620a718c11cfbcccda0cb5be284be6f.tar.xz |
fix read_file()
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ppc/lib/ppclinux.c | 2 |
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; |