summaryrefslogtreecommitdiff
path: root/test/pthread
diff options
context:
space:
mode:
Diffstat (limited to 'test/pthread')
-rw-r--r--test/pthread/ex3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pthread/ex3.c b/test/pthread/ex3.c
index 3e53af1bb..8ef779789 100644
--- a/test/pthread/ex3.c
+++ b/test/pthread/ex3.c
@@ -28,7 +28,7 @@ int main(int argc, char ** argv)
/* create a number to search for */
pid = getpid();
- printf("Searching for the number = %d...\n", pid);
+ printf("Searching for the number = %ld...\n", pid);
/* Initialize the mutex lock */
pthread_mutex_init(&lock, NULL);