* fhandler_raw.cc (fhandler_dev_raw::open): Actually use "options".

This commit is contained in:
Corinna Vinschen 2004-04-06 07:57:59 +00:00
parent 7a1d1d90cd
commit cffd8968e3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-04-03 Corinna Vinschen <corinna@vinschen.de>
* fhandler_raw.cc (fhandler_dev_raw::open): Actually use "options".
2004-04-04 Gerd Spalink <Gerd.Spalink@t-online.de> 2004-04-04 Gerd Spalink <Gerd.Spalink@t-online.de>
* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Add implementation * fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Add implementation

View File

@ -181,7 +181,7 @@ fhandler_dev_raw::open (int flags, mode_t)
HANDLE h; HANDLE h;
IO_STATUS_BLOCK io; IO_STATUS_BLOCK io;
NTSTATUS status = NtOpenFile (&h, access, &attr, &io, 0 /* excl. access */, NTSTATUS status = NtOpenFile (&h, access, &attr, &io, 0 /* excl. access */,
FILE_SYNCHRONOUS_IO_NONALERT); options);
if (!NT_SUCCESS (status)) if (!NT_SUCCESS (status))
{ {
__seterrno_from_win_error (RtlNtStatusToDosError (status)); __seterrno_from_win_error (RtlNtStatusToDosError (status));