VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/BootEncryption.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/BootEncryption.h')
-rw-r--r--src/Common/BootEncryption.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/BootEncryption.h b/src/Common/BootEncryption.h
index a73ce6fc..e8b57211 100644
--- a/src/Common/BootEncryption.h
+++ b/src/Common/BootEncryption.h
@@ -26,7 +26,7 @@ namespace VeraCrypt
File (string path,bool readOnly = false, bool create = false);
virtual ~File () { Close(); }
- void CheckOpened () { if (!FileOpen) { SetLastError (LastError); throw SystemException ();} }
+ void CheckOpened (const char* srcPos) { if (!FileOpen) { SetLastError (LastError); throw SystemException (srcPos);} }
void Close ();
DWORD Read (byte *buffer, DWORD size);
void Write (byte *buffer, DWORD size);