forked from Rativel/BurritOS
Merge branch 'disk' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into disk
This commit is contained in:
@@ -73,7 +73,7 @@ pub fn find_dir(name: &mut String, file_sys : Filesys, drv_disk : DrvDisk) -> i3
|
||||
}
|
||||
|
||||
let file = OpenFile::open_file(sector);
|
||||
if file.get_file_header().is_dir() {
|
||||
if file.hdr.is_dir() {
|
||||
directory.fetch_from(file);
|
||||
} else {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user