mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:12:56 +00:00
- Fix 2 typos
svn path=/trunk/; revision=41463
This commit is contained in:
parent
1cde39c156
commit
12adb28b86
1 changed files with 2 additions and 2 deletions
|
@ -470,7 +470,7 @@ NdisAllocatePacketPoolEx(
|
||||||
|
|
||||||
if (NumberOfDescriptors > 0xffff)
|
if (NumberOfDescriptors > 0xffff)
|
||||||
{
|
{
|
||||||
NDIS_DbgPrint(MIN_TRACE, ("Invalid number of descriptors (%lx)\n"))
|
NDIS_DbgPrint(MIN_TRACE, ("Invalid number of descriptors (%lx)\n", NumberOfDescriptors))
|
||||||
*Status = NDIS_STATUS_RESOURCES;
|
*Status = NDIS_STATUS_RESOURCES;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -478,7 +478,7 @@ NdisAllocatePacketPoolEx(
|
||||||
NumberOfDescriptors += NumberOfOverflowDescriptors;
|
NumberOfDescriptors += NumberOfOverflowDescriptors;
|
||||||
if (NumberOfDescriptors > 0xffff)
|
if (NumberOfDescriptors > 0xffff)
|
||||||
{
|
{
|
||||||
NDIS_DbgPrint(MIN_TRACE, ("Total number of descriptors > 0xffff (%lx)\n"));
|
NDIS_DbgPrint(MIN_TRACE, ("Total number of descriptors > 0xffff (%lx)\n", NumberOfDescriptors));
|
||||||
NumberOfDescriptors = 0xffff;
|
NumberOfDescriptors = 0xffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue