diff options
-rw-r--r-- | dev/disk_image.cc | 2 |
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); } |