aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/log.c b/src/log.c
index 8a2d48410..aac7349d1 100644
--- a/src/log.c
+++ b/src/log.c
@@ -75,6 +75,7 @@ static void do_log(FILE *fp, const char *fmt, va_list args)
{
if (!stdout_mode)
fwrite(log_date(), LOG_DATE_LEN, 1, fp);
+ fprintf(fp, "%08x: ", pthread_self());
vfprintf(fp, fmt, args);
}