Fix access rights (even if not checked in KernelMode)
Modified: trunk/reactos/drivers/storage/floppy/floppy.c
_____
Modified: trunk/reactos/drivers/storage/floppy/floppy.c
--- trunk/reactos/drivers/storage/floppy/floppy.c 2005-11-19
09:08:08 UTC (rev 19340)
+++ trunk/reactos/drivers/storage/floppy/floppy.c 2005-11-19
09:29:20 UTC (rev 19341)
@@ -1153,7 +1153,7 @@
* Create the queue processing thread. Save its handle in the global
variable
* ThreadHandle so we can wait on its termination during Unload.
*/
- if(PsCreateSystemThread(&ThreadHandle, 0, 0, 0, 0, QueueThread, 0) !=
STATUS_SUCCESS)
+ if(PsCreateSystemThread(&ThreadHandle, THREAD_ALL_ACCESS, 0, 0, 0,
QueueThread, 0) != STATUS_SUCCESS)
{
DPRINT("floppy: Unable to create system thread; failing init\n");
return STATUS_INSUFFICIENT_RESOURCES;
Show replies by date