diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2023-02-24 08:18:01 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-03-07 07:09:20 +0000 |
commit | 46f51898ff716e53921b93e8d78af0fc7d06a2f9 (patch) | |
tree | 34849221a1a659dbf4b4e07132a511fccada0680 /MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c | |
parent | a1d595fc9c049874b972a371fe6090738a176f5b (diff) | |
download | edk2-46f51898ff716e53921b93e8d78af0fc7d06a2f9.tar.gz edk2-46f51898ff716e53921b93e8d78af0fc7d06a2f9.tar.bz2 edk2-46f51898ff716e53921b93e8d78af0fc7d06a2f9.zip |
MdeModulePkg: Improve formatting of DEBUG messages in UsbBusDxe
Improve the formatting of DEBUG messages in UsbBusDxe by adding
a hyphen to separate the EFI_STATUS code.
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c index a620a67074..8b078e7e49 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c @@ -761,7 +761,7 @@ UsbGetOneConfig ( if (EFI_ERROR (Status)) {
DEBUG ((
DEBUG_ERROR,
- "UsbGetOneConfig: failed to get descript length(%d) %r\n",
+ "UsbGetOneConfig: failed to get descript length(%d) - %r\n",
Desc.TotalLength,
Status
));
@@ -787,7 +787,7 @@ UsbGetOneConfig ( Status = UsbCtrlGetDesc (UsbDev, USB_DESC_TYPE_CONFIG, Index, 0, Buf, Desc.TotalLength);
if (EFI_ERROR (Status)) {
- DEBUG ((DEBUG_ERROR, "UsbGetOneConfig: failed to get full descript %r\n", Status));
+ DEBUG ((DEBUG_ERROR, "UsbGetOneConfig: failed to get full descript - %r\n", Status));
FreePool (Buf);
return NULL;
@@ -891,7 +891,7 @@ UsbBuildDescTable ( Status = UsbBuildLangTable (UsbDev);
if (EFI_ERROR (Status)) {
- DEBUG ((DEBUG_INFO, "UsbBuildDescTable: get language ID table %r\n", Status));
+ DEBUG ((DEBUG_INFO, "UsbBuildDescTable: get language ID table - %r\n", Status));
}
return EFI_SUCCESS;
|