Sebastian Lackner : ntoskrnl.exe: Fix parameters of IoBuildSynchronousFsdRequest in dispatch_flush.
Alexandre Julliard
julliard at winehq.org
Fri Oct 7 14:46:47 CDT 2016
Module: wine
Branch: master
Commit: 14b2a6a190a84ca3dbb334ad518e137625ab316a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=14b2a6a190a84ca3dbb334ad518e137625ab316a
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Fri Oct 7 05:20:01 2016 +0200
ntoskrnl.exe: Fix parameters of IoBuildSynchronousFsdRequest in dispatch_flush.
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntoskrnl.exe/ntoskrnl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index d107bd9..cf87f7a 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -358,7 +358,7 @@ static NTSTATUS dispatch_flush( const irp_params_t *params, void *in_buff, ULONG
TRACE( "device %p file %p\n", device, file );
/* note: we abuse UserIosb to store the server irp handle */
- if (!(irp = IoBuildSynchronousFsdRequest( IRP_MJ_FLUSH_BUFFERS, device, in_buff, in_size,
+ if (!(irp = IoBuildSynchronousFsdRequest( IRP_MJ_FLUSH_BUFFERS, device, NULL, 0,
NULL, NULL, irp_handle )))
return STATUS_NO_MEMORY;
More information about the wine-cvs
mailing list