X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-os-wait-win32.c;h=85706182bdc1657896e444676d486883bfe389d0;hb=f94c5b8d8fbf4ca8c55620936aee60ba5a8f231a;hp=5d18a717588d8ee49348fe1b188bbd7a8cdcebe9;hpb=76640001ebd9d400a59c78cf98d29c4616f6fd2e;p=mono.git diff --git a/mono/utils/mono-os-wait-win32.c b/mono/utils/mono-os-wait-win32.c index 5d18a717588..85706182bdc 100644 --- a/mono/utils/mono-os-wait-win32.c +++ b/mono/utils/mono-os-wait-win32.c @@ -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.