summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-09-19 14:33:32 +0900
committerNobuyoshi Nakada <[email protected]>2024-09-19 14:33:32 +0900
commitc193ca52180360a3cb24648ffedd1b2181989e9d (patch)
treee94caa20d8c0a162b5fa3cc2ce15a178c3160a79
parent8dc0d2904a7d859b463a3f44ac73e5d4540a1cc1 (diff)
Adjust indent [ci skip]
-rw-r--r--process.c2
-rw-r--r--thread_pthread.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index 8570f577b3..1bfa12ba91 100644
--- a/process.c
+++ b/process.c
@@ -4236,7 +4236,7 @@ rb_fork_ruby(int *status)
disable_child_handler_fork_parent(&old); /* yes, bad name */
rb_thread_release_fork_lock();
if (pid == 0) {
- rb_thread_reset_fork_lock();
+ rb_thread_reset_fork_lock();
}
after_fork_ruby(pid);
diff --git a/thread_pthread.c b/thread_pthread.c
index 3c7fba42d2..6c8ec35671 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -3367,7 +3367,7 @@ rb_thread_reset_fork_lock(void)
}
if ((r = pthread_rwlock_init(&rb_thread_fork_rw_lock, NULL))) {
- rb_bug_errno("pthread_rwlock_init", r);
+ rb_bug_errno("pthread_rwlock_init", r);
}
}