mikros: Fix RPC proto # on exit proc_man call

This commit is contained in:
pjht 2024-11-08 12:37:37 -06:00
parent 05d2060582
commit e94e542f25
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A

View File

@ -254,7 +254,7 @@ pub fn home_dir() -> Option<PathBuf> {
pub fn exit(code: i32) -> ! {
if let Some(proc_man_pid) = syscalls::try_get_registered(3) {
rpc::send_call(proc_man_pid, 2, 4, &postcard::to_allocvec(&(code as u8)).unwrap())
rpc::send_call(proc_man_pid, 8, 4, &postcard::to_allocvec(&(code as u8)).unwrap())
.get_return();
};
unsafe {