mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
- Support loading drivers which have no subdirectory in their image path.
svn path=/trunk/; revision=40063
This commit is contained in:
parent
34afc06d0a
commit
48291b3d33
1 changed files with 6 additions and 0 deletions
|
@ -277,6 +277,12 @@ WinLdrLoadDeviceDriver(PLOADER_PARAMETER_BLOCK LoaderBlock,
|
|||
// Cut out the name from the path
|
||||
*(DriverNamePos+1) = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
// There is no directory in the path
|
||||
strcpy(DllName, DriverPath);
|
||||
DriverPath[0] = 0;
|
||||
}
|
||||
|
||||
DPRINTM(DPRINT_WINDOWS, "DriverPath: %s, DllName: %s, LPB %p\n", DriverPath, DllName, LoaderBlock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue