mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +00:00
[SACDRV]
ASSERT takes a condition, not a string. [NTOS] Use ASSERTMSG instead of a weird ASSERT construction. svn path=/trunk/; revision=63691
This commit is contained in:
parent
c5b0f1eb96
commit
97cbf95b0d
2 changed files with 3 additions and 2 deletions
|
@ -104,7 +104,8 @@ MyAllocatePool(IN SIZE_T PoolSize,
|
|||
PSAC_MEMORY_ENTRY LocalDescriptor, NextDescriptor;
|
||||
ULONG GlobalSize, ActualSize;
|
||||
PVOID Buffer;
|
||||
ASSERT("Tag != FREE_POOL_TAG");
|
||||
|
||||
ASSERT(Tag != FREE_POOL_TAG);
|
||||
SAC_DBG(SAC_DBG_MM, "Entering.\n");
|
||||
|
||||
/* Acquire the memory allocation lock and align the size request */
|
||||
|
|
|
@ -925,7 +925,7 @@ NtSetSystemPowerState(IN POWER_ACTION SystemAction,
|
|||
}
|
||||
|
||||
/* You should not have made it this far */
|
||||
ASSERT(FALSE && "System is still up and running?!");
|
||||
ASSERTMSG("System is still up and running?!", FALSE);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue