diff options
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index cf8552770..c12c59b0c 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1399,7 +1399,7 @@ static int unixClose(OsFile **pId){ OsFile *id = *pId; if( !id ) return SQLITE_OK; if( CHECK_THREADID(id) ) return SQLITE_MISUSE; - sqlite3Io.xUnlock(id, NO_LOCK); + unixUnlock(id, NO_LOCK); if( id->dirfd>=0 ) close(id->dirfd); id->dirfd = -1; sqlite3OsEnterMutex(); |