Fix typo
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
Modified: trunk/reactos/ntoskrnl/include/internal/safe.h
Modified: trunk/reactos/ntoskrnl/rtl/capture.c
_____
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
--- trunk/reactos/ntoskrnl/ex/sysinfo.c 2005-01-23 22:09:27 UTC (rev
13232)
+++ trunk/reactos/ntoskrnl/ex/sysinfo.c 2005-01-23 22:25:11 UTC (rev
13233)
@@ -151,7 +151,7 @@
if(!SeSinglePrivilegeCheck(SeSystemEnvironmentPrivilege,
PreviousMode))
{
- RtlRelaseCapturedUnicodeString(&WName,
+ RtlReleaseCapturedUnicodeString(&WName,
PreviousMode,
FALSE);
return STATUS_PRIVILEGE_NOT_HELD;
@@ -161,7 +161,7 @@
* convert the value name to ansi
*/
Status = RtlUnicodeStringToAnsiString(&AName, &WName, TRUE);
- RtlRelaseCapturedUnicodeString(&WName,
+ RtlReleaseCapturedUnicodeString(&WName,
PreviousMode,
FALSE);
if(!NT_SUCCESS(Status))
@@ -298,12 +298,12 @@
Status = STATUS_PRIVILEGE_NOT_HELD;
}
- RtlRelaseCapturedUnicodeString(&CapturedValue,
+ RtlReleaseCapturedUnicodeString(&CapturedValue,
PreviousMode,
FALSE);
}
- RtlRelaseCapturedUnicodeString(&CapturedName,
+ RtlReleaseCapturedUnicodeString(&CapturedName,
PreviousMode,
FALSE);
}
_____
Modified: trunk/reactos/ntoskrnl/include/internal/safe.h
--- trunk/reactos/ntoskrnl/include/internal/safe.h 2005-01-23
22:09:27 UTC (rev 13232)
+++ trunk/reactos/ntoskrnl/include/internal/safe.h 2005-01-23
22:25:11 UTC (rev 13233)
@@ -17,8 +17,8 @@
IN PUNICODE_STRING UnsafeSrc);
VOID
-RtlRelaseCapturedUnicodeString(IN PUNICODE_STRING CapturedString,
- IN KPROCESSOR_MODE CurrentMode,
- IN BOOLEAN CaptureIfKernel);
+RtlReleaseCapturedUnicodeString(IN PUNICODE_STRING CapturedString,
+ IN KPROCESSOR_MODE CurrentMode,
+ IN BOOLEAN CaptureIfKernel);
#endif /* __NTOSKRNL_INCLUDE_INTERNAL_SAFE_Hb */
_____
Modified: trunk/reactos/ntoskrnl/rtl/capture.c
--- trunk/reactos/ntoskrnl/rtl/capture.c 2005-01-23 22:09:27 UTC
(rev 13232)
+++ trunk/reactos/ntoskrnl/rtl/capture.c 2005-01-23 22:25:11 UTC
(rev 13233)
@@ -133,9 +133,9 @@
}
VOID
-RtlRelaseCapturedUnicodeString(IN PUNICODE_STRING CapturedString,
- IN KPROCESSOR_MODE CurrentMode,
- IN BOOLEAN CaptureIfKernel)
+RtlReleaseCapturedUnicodeString(IN PUNICODE_STRING CapturedString,
+ IN KPROCESSOR_MODE CurrentMode,
+ IN BOOLEAN CaptureIfKernel)
{
if(CurrentMode != KernelMode || CaptureIfKernel )
{