kernel: fix typo in sysexec (CID 156141)
This commit is contained in:
parent
180da90a06
commit
17c9087965
|
@ -378,7 +378,7 @@ sysexec(char* p, char **argv)
|
|||
argvcopy = argv;
|
||||
evenaddr(PTR2UINT(argvcopy));
|
||||
for(i = 0;; i++, argvcopy++){
|
||||
a = *(char**)validaddr(argvcopy, sizeof(char**), 0);
|
||||
a = *(char**)validaddr(argvcopy, sizeof(char*), 0);
|
||||
if(a == nil)
|
||||
break;
|
||||
a = validaddr(a, 1, 0);
|
||||
|
|
Loading…
Reference in New Issue