mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
- Don't bugcheck if FDO wasn't attached.
svn path=/trunk/; revision=9036
This commit is contained in:
parent
ba54c6c892
commit
9f3885512a
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: device.c,v 1.69 2004/03/27 19:41:32 navaraf Exp $
|
||||
/* $Id: device.c,v 1.70 2004/04/08 16:01:47 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -66,7 +66,8 @@ IopInitializeDevice(
|
|||
{
|
||||
/* FIXME: What do we do? Unload the driver or just disable the device? */
|
||||
DbgPrint("An FDO was not attached\n");
|
||||
KEBUGCHECK(0);
|
||||
IopDeviceNodeSetFlag(DeviceNode, DNF_DISABLED);
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
IopDeviceNodeSetFlag(DeviceNode, DNF_ADDED);
|
||||
|
|
Loading…
Reference in a new issue