mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[NTOS] Minor formatting + don't hardcode sizeof(UCHAR) value.
This commit is contained in:
parent
f4597b5540
commit
bc5acd8102
|
@ -3,9 +3,8 @@
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ex/uuid.c
|
* FILE: ntoskrnl/ex/uuid.c
|
||||||
* PURPOSE: UUID generator
|
* PURPOSE: UUID generator
|
||||||
*
|
|
||||||
* PROGRAMMERS: Eric Kohl
|
* PROGRAMMERS: Eric Kohl
|
||||||
Thomas Weidenmueller
|
* Thomas Weidenmueller
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* INCLUDES *****************************************************************/
|
/* INCLUDES *****************************************************************/
|
||||||
|
@ -452,7 +451,7 @@ NtSetUuidSeed(IN PUCHAR Seed)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check for buffer validity and then copy it to our seed */
|
/* Check for buffer validity and then copy it to our seed */
|
||||||
ProbeForRead(Seed, SEED_BUFFER_SIZE, 1);
|
ProbeForRead(Seed, SEED_BUFFER_SIZE, sizeof(UCHAR));
|
||||||
RtlCopyMemory(UuidSeed, Seed, SEED_BUFFER_SIZE);
|
RtlCopyMemory(UuidSeed, Seed, SEED_BUFFER_SIZE);
|
||||||
|
|
||||||
Status = STATUS_SUCCESS;
|
Status = STATUS_SUCCESS;
|
||||||
|
|
Loading…
Reference in a new issue