Remove unused argument to setupkvm (thanks to Peter Froehlich)
This commit is contained in:
parent
70c555574a
commit
4ce832ddd2
4 changed files with 4 additions and 4 deletions
2
exec.c
2
exec.c
|
|
@ -29,7 +29,7 @@ exec(char *path, char **argv)
|
|||
if(elf.magic != ELF_MAGIC)
|
||||
goto bad;
|
||||
|
||||
if((pgdir = setupkvm(kalloc)) == 0)
|
||||
if((pgdir = setupkvm()) == 0)
|
||||
goto bad;
|
||||
|
||||
// Load program into memory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue