diff options
Diffstat (limited to 'fastos')
-rw-r--r-- | fastos/src/vespa/fastos/unix_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastos/src/vespa/fastos/unix_file.cpp b/fastos/src/vespa/fastos/unix_file.cpp index 43cf14cafd9..340c258d95a 100644 --- a/fastos/src/vespa/fastos/unix_file.cpp +++ b/fastos/src/vespa/fastos/unix_file.cpp @@ -255,7 +255,7 @@ FastOS_UNIX_File::Close(void) } if (_mmapbase != NULL) { - madvise(_mmapbase, _mmaplen, MADV_DONTNEED) + madvise(_mmapbase, _mmaplen, MADV_DONTNEED); munmap(static_cast<char *>(_mmapbase), _mmaplen); _mmapbase = NULL; _mmaplen = 0; |