Print the tid in the first column when +tid is specified.
diff --git a/scheduler/process.c b/scheduler/process.c
index b0371f9..74e2f3e 100644
--- a/scheduler/process.c
+++ b/scheduler/process.c
@@ -393,8 +393,9 @@
/* Call UserSignalProc ( USIG_PROCESS_RUNNING ... ) only for non-GUI win32 apps */
if (console_app) PROCESS_CallUserSignalProc( USIG_PROCESS_RUNNING, 0 );
- TRACE_(relay)( "Starting Win32 process %s (entryproc=%p) tid=%08lx\n",
- main_exe_name, entry, GetCurrentThreadId() );
+ if (TRACE_ON(relay))
+ DPRINTF( "%08lx:Starting process %s (entryproc=%p)\n",
+ GetCurrentThreadId(), main_exe_name, entry );
if (debugged) DbgBreakPoint();
/* FIXME: should use _PEB as parameter for NT 3.5 programs !
* Dunno about other OSs */