From: Ivan Maidanski <ivmai@mail.ru>
Date: Mon, 2 Apr 2018 22:03:17 +0000 (+0300)
Subject: Fix a typo in WARN message of resend_lost_signals
X-Git-Tag: v8.0.0~261
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09c682780e88dae59df18dc19223b770ac6e0e18;p=gc

Fix a typo in WARN message of resend_lost_signals
(fix of commit c2e9583)

Issue #181 (bdwgc).

* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL]
(resend_lost_signals): Fix typo ("stopping") in WARN message.
---

diff --git a/pthread_stop_world.c b/pthread_stop_world.c
index fc6e8f47..8b13d346 100644
--- a/pthread_stop_world.c
+++ b/pthread_stop_world.c
@@ -417,7 +417,7 @@ static int resend_lost_signals(int n_live_threads,
           GC_COND_LOG_PRINTF("Resent %d signals after timeout\n", newly_sent);
           sem_getvalue(&GC_suspend_ack_sem, &ack_count);
           if (newly_sent < n_live_threads - ack_count) {
-            WARN("Lost some threads while stoping or starting world?!\n", 0);
+            WARN("Lost some threads while stopping or starting world?!\n", 0);
             n_live_threads = ack_count + newly_sent;
           }
           wait_usecs = 0;