From 1ac74a11c2594f1cc4284c941ccf5ca91fc8e146 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 16 Jun 2011 17:28:54 +0000 Subject: [PATCH] * thread_pthread.c (native_thread_create): fix debug message. (add last newline) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ thread_pthread.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ecda220923..c0b1fa1e70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jun 17 02:26:47 2011 Koichi Sasada + + * thread_pthread.c (native_thread_create): fix debug message. + (add last newline) + Thu Jun 16 23:40:49 2011 KOSAKI Motohiro * thread.c (rb_thread_schedule_rec): fix {UN,}LIKELY macro misuse. diff --git a/thread_pthread.c b/thread_pthread.c index 080bc0c9a0..496600e478 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -769,7 +769,7 @@ native_thread_create(rb_thread_t *th) CHECK_ERR(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)); err = pthread_create(&th->thread_id, &attr, thread_start_func_1, th); - thread_debug("create: %p (%d)", (void *)th, err); + thread_debug("create: %p (%d)\n", (void *)th, err); CHECK_ERR(pthread_attr_destroy(&attr)); } return err;