late submission

This commit is contained in:
CHILAKA AVINASH 2021-01-25 01:39:23 +05:30
parent 37eb6418b6
commit 49c5755496

View File

@ -112,7 +112,7 @@ int do_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_FORK;
m.VFS_PM_ENDPT = rmc->mp_endpoint;