diff options
author | Andrew Schultz <alschult@umich.edu> | 2004-02-15 18:24:14 -0500 |
---|---|---|
committer | Andrew Schultz <alschult@umich.edu> | 2004-02-15 18:24:14 -0500 |
commit | 1978851fc76f7e486161b5aff90e6d677fc558da (patch) | |
tree | 52d9158522342eb0ce6dc028b580037a31b0f35c /dev/pcidev.cc | |
parent | 55a7ad9977356b26e2a15e557177401e94e88165 (diff) | |
download | gem5-1978851fc76f7e486161b5aff90e6d677fc558da.tar.xz |
Fix some debug printing errors
--HG--
extra : convert_revision : 3ef3d2c7eb67c45a7e005c1c072f3098142ea210
Diffstat (limited to 'dev/pcidev.cc')
-rw-r--r-- | dev/pcidev.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/pcidev.cc b/dev/pcidev.cc index 556634115..1706bdd5a 100644 --- a/dev/pcidev.cc +++ b/dev/pcidev.cc @@ -93,7 +93,7 @@ PciDev::ReadConfig(int offset, int size, uint8_t *data) memcpy((uint8_t*)data, config.data + offset, sizeof(uint8_t)); DPRINTF(PCIDEV, "read device: %#x function: %#x register: %#x data: %#x\n", - Device, Function, offset, *(uint8_t*)(config.data + offset)); + Device, Function, offset, (uint16_t)(*(uint8_t*)(config.data + offset))); break; default: |