From c43537196902f1cb012de29f213dbdf108ca8903 Mon Sep 17 00:00:00 2001 From: Stephen Marz Date: Fri, 15 May 2020 12:35:29 -0400 Subject: [PATCH] Updates --- risc_v/src/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/risc_v/src/test.rs b/risc_v/src/test.rs index 0c1ff04..5347fc0 100644 --- a/risc_v/src/test.rs +++ b/risc_v/src/test.rs @@ -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() {