Don't ask me how, but it's booting again
[tpg/acess2.git] / Kernel / syscalls.c
index d286d21..14950dd 100644 (file)
@@ -248,6 +248,8 @@ void SyscallHandler(tSyscallRegs *Regs)
        
        // Read Directory
        case SYS_READDIR:
+               // TODO: What if the filename is longer?
+               // Maybe force it to be a 256 byte buffer
                if( !Syscall_Valid(8, Regs->Arg2) ) {
                        err = -EINVAL;
                        ret = -1;

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