summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index bb2c101569..fa16d52524 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -45,9 +45,9 @@
#include <sys/inotify.h>
#if SIZEOF_PID_T == 4
-# define PID_FMT "%" PRIu32
+# define PID_FMT "%" PRIi32
#elif SIZEOF_PID_T == 2
-# define PID_FMT "%" PRIu16
+# define PID_FMT "%" PRIi16
#else
# error Unknown pid_t size
#endif