store the checkpoint to the proper directory

dev/disk_image.cc:
    store the disk checkpoint to the proper directory

--HG--
extra : convert_revision : f76347576691560f00c60b86ac2044960d5a193c
This commit is contained in:
Nathan Binkert 2004-07-08 15:59:46 -04:00
parent 7b2535d7bc
commit 7c2084dcfe

View file

@ -427,7 +427,7 @@ CowDiskImage::serialize(ostream &os)
{
string cowFilename = name() + ".cow";
SERIALIZE_SCALAR(cowFilename);
save(cowFilename);
save(Checkpoint::dir() + "/" + cowFilename);
}
void