From 50a13a7e94111b512d85c9a84dd0d7e22443372e Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 17 Nov 2011 22:14:16 +0800 Subject: [PATCH] Kernel/syscalls - Fixed LogF format error causing TID to be zero in SYS_DEBUG --- Kernel/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.20.1