From f0971354c481c2114ffd44992c92e649a4716c30 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Thu, 29 Sep 2016 01:06:33 -0400 Subject: [PATCH] mem: minor dprintf fix to abstract mem print number of bytes written as a decimal number, not hex --- src/mem/abstract_mem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/abstract_mem.cc b/src/mem/abstract_mem.cc index 1797deae8..75c5b559b 100644 --- a/src/mem/abstract_mem.cc +++ b/src/mem/abstract_mem.cc @@ -406,7 +406,7 @@ AbstractMemory::access(PacketPtr pkt) if (writeOK(pkt)) { if (pmemAddr) { memcpy(hostAddr, pkt->getConstPtr(), 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());