mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:15:58 +00:00
[NTOS]
- fix bug svn path=/trunk/; revision=66554
This commit is contained in:
parent
394264825f
commit
6c19ea5c6a
1 changed files with 2 additions and 2 deletions
|
@ -1330,8 +1330,8 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
|
|||
|
||||
/* Symbolic link name is \??\ACPI#PNP0501#1#{GUID}\ReferenceString */
|
||||
/* Get GUID from SymbolicLinkName */
|
||||
StartPosition = wcsrchr(SymbolicLinkName->Buffer, L'{');
|
||||
EndPosition = wcsrchr(SymbolicLinkName->Buffer, L'}');
|
||||
StartPosition = wcschr(SymbolicLinkName->Buffer, L'{');
|
||||
EndPosition = wcschr(SymbolicLinkName->Buffer, L'}');
|
||||
if (!StartPosition ||!EndPosition || StartPosition > EndPosition)
|
||||
{
|
||||
DPRINT1("IoSetDeviceInterfaceState() returning STATUS_INVALID_PARAMETER_1\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue