summaryrefslogtreecommitdiff
path: root/dev/disk_image.cc
diff options
context:
space:
mode:
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 747e76965..a1a220de1 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 + "." + name() + ".cow";
+ string cowFilename = CheckpointFile() + "." + name() + ".cow";
SERIALIZE_SCALAR(cowFilename);
save(cowFilename);
}