diff --git a/src/syscalls/interfaces/mod.rs b/src/syscalls/interfaces/mod.rs index d5ce66a6e0..3353821218 100644 --- a/src/syscalls/interfaces/mod.rs +++ b/src/syscalls/interfaces/mod.rs @@ -16,7 +16,7 @@ pub trait SyscallInterface: Send + Sync { fn get_application_parameters(&self) -> (i32, *const *const u8, *const *const u8) { let mut argv = Vec::new(); - let name = Box::leak(Box::new("bin\0")).as_ptr(); + let name = Box::leak(Box::new("hermit-app\0")).as_ptr(); argv.push(name); let args = env::args(); @@ -54,4 +54,4 @@ pub trait SyscallInterface: Send + Sync { arch::processor::shutdown(error_code) } -} +} \ No newline at end of file