1
0
forked from Rativel/BurritOS

Merge branch 'disk' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into disk

This commit is contained in:
Baptiste
2023-04-05 16:50:05 +02:00
2 changed files with 11 additions and 14 deletions

View File

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