9
0
Fork 0

fix read_file()

This commit is contained in:
Sascha Hauer 2007-10-01 09:51:56 +02:00
parent 153cf7bb6e
commit 884988f6d6
1 changed files with 1 additions and 1 deletions

View File

@ -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;