1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00

Unfortunately, until we have a shell, I have to keep hard coding the path.

This commit is contained in:
Stephen Marz 2020-06-04 18:05:55 -04:00
parent f11f0e9f1f
commit 2acb967a46

View File

@ -6,7 +6,7 @@ use crate::syscall;
pub fn test() {
// The majority of the testing code needs to move into a system call (execv maybe?)
MinixFileSystem::init(8);
let path = "/testrv\0".as_bytes().as_ptr();
let path = "/fb\0".as_bytes().as_ptr();
syscall::syscall_execv(path,0);
println!("I should never get here, execv should destroy our process.");
}