]> git.ozlabs.org Git - yaboot.git/blobdiff - second/fs_iso.c
Commit yaboot 1.3.4-pre1
[yaboot.git] / second / fs_iso.c
index 9f52a3da5fd103541e928cc04102b84990e91015..50479a9a1249e041933f2be027241752d326d3cd 100644 (file)
@@ -24,7 +24,7 @@
 #include "string.h"
 #include "partition.h"
 #include "fs.h"
-
+#include "errors.h"
 
 static int iso_open(   struct boot_file_t*     file,
                        const char*             dev_name,
@@ -52,7 +52,7 @@ iso_open(     struct boot_file_t*     file,
                struct partition_t*     part,
                const char*             file_name)
 {
-       return FILE_ERR_NOTFOUND;
+       return FILE_ERR_BAD_FSYS;
 }
 
 static int
@@ -60,14 +60,14 @@ iso_read(   struct boot_file_t*     file,
                unsigned int            size,
                void*                   buffer)
 {
-       return FILE_ERR_NOTFOUND;
+       return FILE_ERR_BAD_FSYS;
 }
 
 static int
 iso_seek(      struct boot_file_t*     file,
                unsigned int            newpos)
 {
-       return FILE_ERR_NOTFOUND;
+       return FILE_ERR_BAD_FSYS;
 }
 
 static int