Bugfixing initrd and ld-acess
[tpg/acess2.git] / Kernel / syscalls.c
index 523b3f2..cafe7c2 100644 (file)
@@ -168,7 +168,7 @@ void SyscallHandler(tSyscallRegs *Regs)
                if( !Syscall_ValidString(Regs->Arg1)
                ||  !Syscall_Valid(sizeof(Uint), Regs->Arg2) ) {
                        err = -EINVAL;
-                       ret = -1;
+                       ret = 0;
                        break;
                }
                // Path, *Entrypoint

UCC git Repository :: git.ucc.asn.au