Fixed typo in call to SignalObjectAndWait.
authorlateralusX <lateralusx.github@gmail.com>
Wed, 13 Sep 2017 12:50:38 +0000 (14:50 +0200)
committerlateralusX <lateralusx.github@gmail.com>
Mon, 25 Sep 2017 13:41:32 +0000 (15:41 +0200)
mono/utils/mono-os-wait-win32.c

index 5d18a717588d8ee49348fe1b188bbd7a8cdcebe9..85706182bdc1657896e444676d486883bfe389d0 100644 (file)
@@ -155,7 +155,7 @@ mono_win32_signal_object_and_wait (HANDLE toSignal, HANDLE toWait, DWORD timeout
                enter_alertable_wait (info);
        }
 
-       result = SignalObjectAndWait (toSignal, towlower, timeout, alertable);
+       result = SignalObjectAndWait (toSignal, toWait, timeout, alertable);
 
        // NOTE, leave_alertable_wait should not affect GetLastError but
        // if changed, last error need to be preserved and reset before returning.