From 557bd1db2265edef0cafb250fe2be7204845fd87 Mon Sep 17 00:00:00 2001 From: casperisfine Date: Fri, 21 Jul 2023 08:46:11 +0000 Subject: [PATCH] Automated change: Fix sanity tests --- src/ruby/ext/grpc/rb_grpc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ruby/ext/grpc/rb_grpc.c b/src/ruby/ext/grpc/rb_grpc.c index 0bde95ac0fb01..8ee9e6af95b14 100644 --- a/src/ruby/ext/grpc/rb_grpc.c +++ b/src/ruby/ext/grpc/rb_grpc.c @@ -23,10 +23,10 @@ #include #include #include +#include #include #include #include -#include #include "rb_call.h" #include "rb_call_credentials.h" @@ -432,7 +432,9 @@ static VALUE grpc_rb_postfork_parent(VALUE self) { "GRPC::prefork"); } if (!grpc_ruby_initial_thread()) { - fprintf(stderr, "grpc_rb_postfork_parent g_init_tid = %ld, current_tid=%ld\n", g_init_tid, sys_gettid()); + fprintf(stderr, + "grpc_rb_postfork_parent g_init_tid = %ld, current_tid=%ld\n", + g_init_tid, sys_gettid()); rb_raise(rb_eRuntimeError, "GRPC.postfork_parent needs to be called from the same thread " "that GRPC.prefork (and fork) was called from");