fix syscall error detection bug
This commit is contained in:
1 parent
8c0c34af27
commit
ed4560829c
1 file changed
+1
-1
@@ -64,7 +64,7 @@ namespace syscallNode {
|
||||
}
|
||||
|
||||
freeList(memoryToClean);
|
||||
if(syscallReturnValue = -1) {
|
||||
if(syscallReturnValue == -1) {
|
||||
returnjs(errno);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user