diff --git a/devices/common/pci/pcibase.h b/devices/common/pci/pcibase.h index 4553157..3d8cd07 100644 --- a/devices/common/pci/pcibase.h +++ b/devices/common/pci/pcibase.h @@ -233,7 +233,7 @@ inline uint32_t pci_cfg_log(uint32_t value, AccessDetails &details) { #define LOG_READ_NON_EXISTENT_PCI_DEVICE() \ LOG_F( \ ERROR, \ - "%s err: read attempt from non-existent PCI device %02x:%02x.%x @%02x.%c", \ + "%s err: read attempt from non-existent PCI device %02x:%02x.%x @%02x.%c", \ this->name.c_str(), bus_num, dev_num, fun_num, reg_offs + details.offset, \ SIZE_ARG(details.size) \ ) @@ -241,7 +241,7 @@ inline uint32_t pci_cfg_log(uint32_t value, AccessDetails &details) { #define LOG_WRITE_NON_EXISTENT_PCI_DEVICE() \ LOG_F( \ ERROR, \ - "%s err: write attempt to non-existent PCI device %02x:%02x.%x @%02x.%c = %0*x", \ + "%s err: write attempt to non-existent PCI device %02x:%02x.%x @%02x.%c = %0*x", \ this->name.c_str(), bus_num, dev_num, fun_num, reg_offs + details.offset, \ SIZE_ARG(details.size), \ details.size * 2, BYTESWAP_SIZED(value, details.size) \