mem: minor dprintf fix to abstract mem
print number of bytes written as a decimal number, not hex
This commit is contained in:
parent
109cc2caa6
commit
f0971354c4
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ AbstractMemory::access(PacketPtr pkt)
|
|||
if (writeOK(pkt)) {
|
||||
if (pmemAddr) {
|
||||
memcpy(hostAddr, pkt->getConstPtr<uint8_t>(), pkt->getSize());
|
||||
DPRINTF(MemoryAccess, "%s wrote %x bytes to address %x\n",
|
||||
DPRINTF(MemoryAccess, "%s wrote %i bytes to address %x\n",
|
||||
__func__, pkt->getSize(), pkt->getAddr());
|
||||
}
|
||||
assert(!pkt->req->isInstFetch());
|
||||
|
|
Loading…
Reference in a new issue