mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
- Support loading drivers which have no subdirectory in their image path.
svn path=/trunk/; revision=40063
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user