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