kernel: fix typo in sysexec (CID 156141)

This commit is contained in:
Giacomo Tesio 2017-08-14 19:34:34 +02:00
parent 180da90a06
commit 17c9087965
1 changed files with 1 additions and 1 deletions

View File

@ -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);