Delete extra argument passed to DbgPrint not used by format string.

This commit is contained in:
Assaf Carlsbad
2019-12-13 13:11:27 -08:00
committed by BrentHoltsclaw
parent 0f2d02fb1d
commit 38fdeb0d71
+1 -1
View File
@@ -605,7 +605,7 @@ DriverDeviceControl(
RtlCopyBytes( &va, (BYTE*)Irp->AssociatedIrp.SystemBuffer, sizeof(UINTN) );
pa = MmGetPhysicalAddress( (PVOID)va );
DbgPrint( "[chipsec][IOCTL_GET_PHYSADDR] Translated virtual address 0x%I64X to physical: 0x%I64X\n", va, pa.QuadPart, pa.LowPart);
DbgPrint( "[chipsec][IOCTL_GET_PHYSADDR] Translated virtual address 0x%I64X to physical: 0x%I64X\n", va, pa.QuadPart);
RtlCopyBytes( Irp->AssociatedIrp.SystemBuffer, (void*)&pa, sizeof(UINTN) );
IrpSp->Parameters.Read.Length = sizeof(UINTN);
dwBytesWritten = IrpSp->Parameters.Read.Length;