Jacek Caban : server: Pass proper async object to queue_irp in device_file_flush.
Module: wine Branch: master Commit: 56dfb384c7b44d657cf498f6eda60b66d4a97664 URL: https://source.winehq.org/git/wine.git/?a=commit;h=56dfb384c7b44d657cf498f6e... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue Jan 2 13:56:54 2018 +0100 server: Pass proper async object to queue_irp in device_file_flush. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- server/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/device.c b/server/device.c index 65ae659..dcc2946 100644 --- a/server/device.c +++ b/server/device.c @@ -516,7 +516,7 @@ static int device_file_flush( struct fd *fd, struct async *async ) memset( ¶ms, 0, sizeof(params) ); params.flush.major = IRP_MJ_FLUSH_BUFFERS; params.flush.file = file->user_ptr; - return queue_irp( file, ¶ms, NULL ); + return queue_irp( file, ¶ms, async ); } static int device_file_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
participants (1)
-
Alexandre Julliard