late submission
This commit is contained in:
parent
37eb6418b6
commit
49c5755496
|
|
@ -112,7 +112,7 @@ int do_fork()
|
||||||
/* Find a free pid for the child and put it in the table. */
|
/* Find a free pid for the child and put it in the table. */
|
||||||
new_pid = get_free_pid();
|
new_pid = get_free_pid();
|
||||||
rmc->mp_pid = new_pid; /* assign pid to child */
|
rmc->mp_pid = new_pid; /* assign pid to child */
|
||||||
|
printf("Minix: PID %d created\n", new_pid);
|
||||||
memset(&m, 0, sizeof(m));
|
memset(&m, 0, sizeof(m));
|
||||||
m.m_type = VFS_PM_FORK;
|
m.m_type = VFS_PM_FORK;
|
||||||
m.VFS_PM_ENDPT = rmc->mp_endpoint;
|
m.VFS_PM_ENDPT = rmc->mp_endpoint;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user