late submission

This commit is contained in:
CHILAKA AVINASH 2021-01-25 00:48:50 +05:30
parent 588a35b929
commit 37eb6418b6

View File

@ -204,7 +204,7 @@ int do_srv_fork()
/* Find a free pid for the child and put it in the table. */
new_pid = get_free_pid();
rmc->mp_pid = new_pid; /* assign pid to child */
printf("Minix: PID %d created\n", new_pid);
memset(&m, 0, sizeof(m));
m.m_type = VFS_PM_SRV_FORK;
m.VFS_PM_ENDPT = rmc->mp_endpoint;
@ -242,6 +242,7 @@ int do_exit()
}
else {
exit_proc(mp, m_in.m_lc_pm_exit.status, FALSE /*dump_core*/);
printf("Minix: PID %d exited\n", mp->mp_pid);
}
return(SUSPEND); /* can't communicate from beyond the grave */
}