1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-24 02:16:19 +04:00
This commit is contained in:
Stephen Marz 2020-05-15 12:35:29 -04:00
parent 9de528877c
commit c435371969

View File

@ -14,7 +14,7 @@ pub fn test() {
const BDEV: usize = 8;
// This could be better. We should see what our probe gave us, and it if is
// a block device, init the filesystem.
MinixFileSystem::init(8);
MinixFileSystem::init(BDEV);
let file_to_read = String::from("/helloworld.elf");
let desc = MinixFileSystem::open(BDEV, &file_to_read).ok();
if desc.is_none() {