aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-02-23 14:00:12 +0000
committerdrh <drh@noemail.net>2011-02-23 14:00:12 +0000
commit5c81927c9d2264dff8a46043732800c042750751 (patch)
tree4adb225d420d0273664e5c4485fd995c5f8b8362 /src/os_unix.c
parentff81231e62aa276c509fe4d24b2e6ab6fa69c7c3 (diff)
downloadsqlite-5c81927c9d2264dff8a46043732800c042750751.tar.gz
sqlite-5c81927c9d2264dff8a46043732800c042750751.zip
Fix a typo in the robust_flock() macro for systems without EINTR.
FossilOrigin-Name: af9ba2a6d2c37915e799eec52bb827de46afd34d
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 6202a3162..edbf36f30 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -1813,7 +1813,7 @@ static int robust_flock(int fd, int op){
return rc;
}
#else
-# define robust_flock(a,b) fclose(a,b)
+# define robust_flock(a,b) flock(a,b)
#endif