diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 52997ecbf5..f8b6c1206d 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -361,7 +361,7 @@ native_cond_timeout(rb_thread_cond_t *cond, struct timespec timeout_rel) } if (cond->clockid != CLOCK_REALTIME) - rb_bug("unsupported clockid %d", cond->clockid); + rb_bug("unsupported clockid %"PRIdVALUE, (SIGNED_VALUE)cond->clockid); #endif ret = gettimeofday(&tv, 0); |