From: John Hodge Date: Thu, 17 Nov 2011 14:14:16 +0000 (+0800) Subject: Kernel/syscalls - Fixed LogF format error causing TID to be zero in SYS_DEBUG X-Git-Tag: rel0.14~95 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=50a13a7e94111b512d85c9a84dd0d7e22443372e;p=tpg%2Facess2.git Kernel/syscalls - Fixed LogF format error causing TID to be zero in SYS_DEBUG --- diff --git a/Kernel/syscalls.c b/Kernel/syscalls.c index 117c51f1..174daef4 100644 --- a/Kernel/syscalls.c +++ b/Kernel/syscalls.c @@ -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");