store the checkpoint to the proper directory
authorNathan Binkert <binkertn@umich.edu>
Thu, 8 Jul 2004 19:59:46 +0000 (15:59 -0400)
committerNathan Binkert <binkertn@umich.edu>
Thu, 8 Jul 2004 19:59:46 +0000 (15:59 -0400)
dev/disk_image.cc:
    store the disk checkpoint to the proper directory

--HG--
extra : convert_revision : f76347576691560f00c60b86ac2044960d5a193c

dev/disk_image.cc

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