We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 369f926 commit f7efb1eCopy full SHA for f7efb1e
src/debug.h
@@ -4,7 +4,7 @@
4
#ifdef DEBUG
5
# include <stdio.h>
6
# define PSTDERR(fmt, args...) do { dprintf(2,fmt, ## args); } while(0)
7
-# define PDEBUG(fmt, args...) PSTDERR("DEBUG:"fmt, ## args)
+# define PDEBUG(fmt, args...) PSTDERR("DEBUG:pid[%d]:"fmt, getpid(), ## args)
8
# define DEBUGDECL(args...) args
9
10
# include "core.h"
0 commit comments