summaryrefslogtreecommitdiffstats
path: root/tests/test_fork_thread_deadlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_fork_thread_deadlock.c')
-rw-r--r--tests/test_fork_thread_deadlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_fork_thread_deadlock.c b/tests/test_fork_thread_deadlock.c
index 6cd1ca0..7d4d4a7 100644
--- a/tests/test_fork_thread_deadlock.c
+++ b/tests/test_fork_thread_deadlock.c
@@ -45,7 +45,7 @@
static void test_swrap_signal_handler(int signum)
{
- fprintf(stderr, "PID: %d, SIGNUM: %d\n", getpid(), signum);
+ fprintf(stderr, "PID: %u, SIGNUM: %d\n", (unsigned int)getpid(), signum);
write(1, "DEADLOCK?\n", 10);
}