mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Fix a bug in %SystemRoot% substitution branch.
svn path=/trunk/; revision=31772
This commit is contained in:
@@ -1294,7 +1294,7 @@ ScmCanonDriverImagePath(DWORD dwStartType,
|
||||
if (dwStartType == SERVICE_BOOT_START)
|
||||
wcscpy(*lpCanonName, L"\\SystemRoot\\");
|
||||
|
||||
wcscat(*lpCanonName, lpServiceName);
|
||||
wcscat(*lpCanonName, lpServiceName + 13);
|
||||
|
||||
DPRINT("Canonicalized name %S\n", *lpCanonName);
|
||||
return NO_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user