Kernel/syscalls - Fixed LogF format error causing TID to be zero in SYS_DEBUG
authorJohn Hodge <[email protected]>
Thu, 17 Nov 2011 14:14:16 +0000 (22:14 +0800)
committerJohn Hodge <[email protected]>
Thu, 17 Nov 2011 14:14:16 +0000 (22:14 +0800)
Kernel/syscalls.c

index 117c51f..174daef 100644 (file)
@@ -316,7 +316,7 @@ void SyscallHandler(tSyscallRegs *Regs)
        //#if DEBUG_BUILD
        case SYS_DEBUG:
                CHECK_STR_NONULL( (char*)Regs->Arg1 );
-               LogF("Log: %08i [%i] ", now(), Threads_GetTID());
+               LogF("Log: %08lli [%i] ", now(), Threads_GetTID());
                LogF((const char*)Regs->Arg1,
                        Regs->Arg2, Regs->Arg3, Regs->Arg4, Regs->Arg5, Regs->Arg6);
                LogF("\r\n");

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