From 0fda850b94e50cae7d6df2f06c2c26179a66928f Mon Sep 17 00:00:00 2001 From: ksherlock Date: Thu, 27 May 2010 04:15:39 +0000 Subject: [PATCH] readOnly not corerctly set git-svn-id: https://profuse.googlecode.com/svn/branches/v2@284 aa027e90-d47c-11dd-86d7-074df07e0730 --- Device/DiskImage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Device/DiskImage.cpp b/Device/DiskImage.cpp index 1c8d0cf..024bf15 100644 --- a/Device/DiskImage.cpp +++ b/Device/DiskImage.cpp @@ -41,7 +41,7 @@ DiskImage::DiskImage(MappedFile *file) _file.adopt(*file); _blocks = 0; - _readOnly = file->readOnly(); + _readOnly = _file.readOnly(); _adaptor = NULL; }