Author: janderwald
Date: Wed Oct 21 11:11:36 2009
New Revision: 43668
URL:
http://svn.reactos.org/svn/reactos?rev=43668&view=rev
Log:
[NTOSKNRL]
- Enhance DebugPrint by Stefan Ginsberg
Modified:
trunk/reactos/ntoskrnl/io/iomgr/file.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/file.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/file.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/file.c [iso-8859-1] Wed Oct 21 11:11:36 2009
@@ -411,7 +411,13 @@
((wcsstr(CompleteName->Buffer, L"Harddisk"))) &&
!(UseDummyFile))
{
- DPRINT1("Using IopParseDevice() hack\n");
+ DPRINT1("Using IopParseDevice() hack. Requested invalid attributes:
%lx\n",
+ DesiredAccess & ~(SYNCHRONIZE |
+ FILE_READ_ATTRIBUTES |
+ READ_CONTROL |
+ ACCESS_SYSTEM_SECURITY |
+ WRITE_OWNER |
+ WRITE_DAC));
DirectOpen = TRUE;
}