summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db3x_mmap/init.c')
-rw-r--r--plugins/Db3x_mmap/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/init.c b/plugins/Db3x_mmap/init.c
index 304c810a8e..30f8e9b60e 100644
--- a/plugins/Db3x_mmap/init.c
+++ b/plugins/Db3x_mmap/init.c
@@ -80,7 +80,7 @@ static int grokHeader( char * profile, int * error )
return 1;
}
// read the header, which can fail (for various reasons)
- if ( !ReadFile(hFile, &hdr, sizeof(struct DBHeader), &dummy, NULL) ) {
+ if ( !ReadFile(hFile, &hdr, sizeof(struct DBHeader), &dummy, NULL)) {
if ( error != NULL) *error=EGROKPRF_CANTREAD;
CloseHandle(hFile);
return 1;