fix syscall error detection bug

This commit is contained in:
Marc
2022-02-01 23:14:41 +01:00
parent 8c0c34af27
commit ed4560829c
+1 -1
View File
@@ -64,7 +64,7 @@ namespace syscallNode {
}
freeList(memoryToClean);
if(syscallReturnValue = -1) {
if(syscallReturnValue == -1) {
returnjs(errno);
}
}