]> granicus.if.org Git - gc/commitdiff
Fix a typo in WARN message of resend_lost_signals
authorIvan Maidanski <ivmai@mail.ru>
Mon, 2 Apr 2018 22:03:17 +0000 (01:03 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 2 Apr 2018 22:03:17 +0000 (01:03 +0300)
(fix of commit c2e9583)

Issue #181 (bdwgc).

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

pthread_stop_world.c

index fc6e8f47d169878f761d7b9612a647db38f8103d..8b13d34626d7edf7a522f9b86a38777acd142bea 100644 (file)
@@ -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;