Commit 9d60e350 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Flush handle in any access mode.

parent 25539763
......@@ -567,7 +567,7 @@ DECL_HANDLER(flush_file)
{
struct object *obj;
if ((obj = get_handle_obj( current->process, req->handle, GENERIC_WRITE, NULL )))
if ((obj = get_handle_obj( current->process, req->handle, 0, NULL )))
{
obj->ops->flush( obj );
release_object( obj );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment