mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +00:00
[NTOS] Minor formatting + don't hardcode sizeof(UCHAR) value.
This commit is contained in:
parent
f4597b5540
commit
bc5acd8102
1 changed files with 2 additions and 3 deletions
|
@ -3,9 +3,8 @@
|
|||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/ex/uuid.c
|
||||
* PURPOSE: UUID generator
|
||||
*
|
||||
* PROGRAMMERS: Eric Kohl
|
||||
Thomas Weidenmueller
|
||||
* Thomas Weidenmueller
|
||||
*/
|
||||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
@ -452,7 +451,7 @@ NtSetUuidSeed(IN PUCHAR 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);
|
||||
|
||||
Status = STATUS_SUCCESS;
|
||||
|
|
Loading…
Reference in a new issue