nits
This commit is contained in:
parent
f2df0fa547
commit
2821d43cc9
2 changed files with 3 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ found:
|
|||
|
||||
// Set up new context to start executing at forkret,
|
||||
// which returns to user space.
|
||||
memset(&p->context, 0, sizeof p->context);
|
||||
memset(&p->context, 0, sizeof(p->context));
|
||||
p->context.ra = (uint64)forkret;
|
||||
p->context.sp = p->kstack + PGSIZE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue