Flush handle in any access mode.

This commit is contained in:
Marcus Meissner 1999-12-04 04:00:16 +00:00 committed by Alexandre Julliard
parent 2553976309
commit 9d60e35080
1 changed files with 1 additions and 1 deletions

View File

@ -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 );