readOnly not corerctly set

git-svn-id: https://profuse.googlecode.com/svn/branches/v2@284 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
ksherlock 2010-05-27 04:15:39 +00:00
parent 9cf52398a2
commit 0fda850b94
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ DiskImage::DiskImage(MappedFile *file)
_file.adopt(*file);
_blocks = 0;
_readOnly = file->readOnly();
_readOnly = _file.readOnly();
_adaptor = NULL;
}