[NTOS] Fix typos.

This commit is contained in:
Hermès Bélusca-Maïto 2019-04-22 19:41:19 +02:00
parent 2e1f594d5e
commit 627b1df579
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@
#define SECS_15_OCT_1582_TO_1601 ((17 + 30 + 31 + 365 * 18 + 5) * SECSPERDAY)
#define TICKS_15_OCT_1582_TO_1601 ((ULONGLONG)SECS_15_OCT_1582_TO_1601 * TICKSPERSEC)
/* 10000 in 100-ns model = 0,1 microsecond */
/* 10000 in 100-ns model = 0.1 microsecond */
#define TIME_FRAME 10000
#if defined (ALLOC_PRAGMA)
@ -247,7 +247,7 @@ ExpAllocateUuids(PULARGE_INTEGER Time,
return STATUS_RETRY;
}
/* If time diff > 0,1ms, squash it to reduce it to keep our clock resolution */
/* If time diff > 0.1ms, squash it to reduce it to keep our clock resolution */
if (TimeDiff.HighPart > 0 || TimeDiff.QuadPart > TICKS_PER_CLOCK_TICK * TIME_FRAME)
{
TimeDiff.QuadPart = TICKS_PER_CLOCK_TICK * TIME_FRAME;

View file

@ -457,7 +457,7 @@ SepAccessCheckAndAuditAlarm(
if ((ResultListLength == 0) || (ResultListLength > 0x1000))
{
Status = STATUS_INVALID_PARAMETER;
DPRINT1("Invalud ResultListLength: 0x%lx\n", ResultListLength);
DPRINT1("Invalid ResultListLength: 0x%lx\n", ResultListLength);
goto Cleanup;
}