- Fix 2 typos

svn path=/trunk/; revision=41463
This commit is contained in:
Cameron Gutman 2009-06-19 07:34:34 +00:00
parent 1cde39c156
commit 12adb28b86

View file

@ -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;
} }