From e84d2702524659094adce591d94a4eb87c3cffdd Mon Sep 17 00:00:00 2001 From: Konstantin Kondratyuk Date: Thu, 3 May 2007 15:14:25 +0400 Subject: [PATCH] ntdll: Correct a copy/paste mistake in NtWriteFile. --- dlls/ntdll/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index c41d387308d..6912350ada6 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -881,7 +881,7 @@ NTSTATUS WINAPI NtWriteFile(HANDLE hFile, HANDLE hEvent, timeout = get_next_io_timeout( &timeouts, total ); pfd.fd = unix_handle; - pfd.events = POLLIN; + pfd.events = POLLOUT; if (!timeout || !(ret = poll( &pfd, 1, timeout ))) {