summaryrefslogtreecommitdiff
path: root/dev/disk_image.cc
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2003-11-01 23:03:17 -0500
committerRon Dreslinski <rdreslin@umich.edu>2003-11-01 23:03:17 -0500
commit394d34beb3cee615ac619e833994fafc075be8f8 (patch)
tree8de249d7fb5c9960e1477b3de52a14de673997af /dev/disk_image.cc
parent249aaff32970dac250dbee3cb3ea531e60348933 (diff)
parent095962c914448a5298d8dcba7758c3a0a1361734 (diff)
downloadgem5-394d34beb3cee615ac619e833994fafc075be8f8.tar.xz
Merge zamp.eecs.umich.edu:/amd/brio/y/rdreslin/m5bk/clean
into zamp.eecs.umich.edu:/amd/brio/y/rdreslin/m5bk/unclean --HG-- extra : convert_revision : 89cecb54210ad4ec1b5062f091d7355b18b324e6
Diffstat (limited to 'dev/disk_image.cc')
-rw-r--r--dev/disk_image.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/disk_image.cc b/dev/disk_image.cc
index 2fead00ad..747e76965 100644
--- a/dev/disk_image.cc
+++ b/dev/disk_image.cc
@@ -405,7 +405,7 @@ CowDiskImage::write(const uint8_t *data, off_t offset)
void
CowDiskImage::serialize(ostream &os)
{
- string cowFilename = serializeFilename + ".cow";
+ string cowFilename = serializeFilename + "." + name() + ".cow";
SERIALIZE_SCALAR(cowFilename);
save(cowFilename);
}