Make use of correct format String:
1) UINT64 should use %lx 2) POINTER type should use %p 3) EFI_STATUS should use %r git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6253 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -221,7 +221,7 @@ del_v2p (
|
||||
FreePool (v);
|
||||
|
||||
if (Status) {
|
||||
DEBUG ((EFI_D_ERROR, "Unmap failed with status = %x\n", Status));
|
||||
DEBUG ((EFI_D_ERROR, "Unmap failed with status = %r\n", Status));
|
||||
}
|
||||
return Status;
|
||||
}
|
||||
@@ -233,7 +233,7 @@ del_v2p (
|
||||
FreePool (t);
|
||||
|
||||
if (Status) {
|
||||
DEBUG ((EFI_D_ERROR, "Unmap failed with status = %x\n", Status));
|
||||
DEBUG ((EFI_D_ERROR, "Unmap failed with status = %r\n", Status));
|
||||
}
|
||||
return Status;
|
||||
}
|
||||
@@ -353,12 +353,12 @@ SimpleNetworkDriverSupported (
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
if (Status == EFI_ALREADY_STARTED) {
|
||||
DEBUG ((EFI_D_INFO, "Support(): Already Started. on handle %x\n", Controller));
|
||||
DEBUG ((EFI_D_INFO, "Support(): Already Started. on handle %p\n", Controller));
|
||||
}
|
||||
return Status;
|
||||
}
|
||||
|
||||
DEBUG ((EFI_D_INFO, "Support(): UNDI3.1 found on handle %x\n", Controller));
|
||||
DEBUG ((EFI_D_INFO, "Support(): UNDI3.1 found on handle %p\n", Controller));
|
||||
|
||||
//
|
||||
// check the version, we don't want to connect to the undi16
|
||||
@@ -422,7 +422,7 @@ SimpleNetworkDriverSupported (
|
||||
}
|
||||
|
||||
Status = EFI_SUCCESS;
|
||||
DEBUG ((EFI_D_INFO, "Support(): supported on %x\n", Controller));
|
||||
DEBUG ((EFI_D_INFO, "Support(): supported on %p\n", Controller));
|
||||
|
||||
Done:
|
||||
gBS->CloseProtocol (
|
||||
|
Reference in New Issue
Block a user