fix syscall error detection bug
This commit is contained in:
@@ -64,7 +64,7 @@ namespace syscallNode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
freeList(memoryToClean);
|
freeList(memoryToClean);
|
||||||
if(syscallReturnValue = -1) {
|
if(syscallReturnValue == -1) {
|
||||||
returnjs(errno);
|
returnjs(errno);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user