diff options
author | danielk1977 <danielk1977@noemail.net> | 2009-05-08 11:34:37 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2009-05-08 11:34:37 +0000 |
commit | 50c55a90d564f88f717c84a054e8a3d3b90d541f (patch) | |
tree | 5fc5f5ea4c4f97f8d108fc3d0978c1dae05ac55e /src/os_unix.c | |
parent | ea24ac4b23b613e07f36d5ef1d578a44c4217669 (diff) | |
download | sqlite-50c55a90d564f88f717c84a054e8a3d3b90d541f.tar.gz sqlite-50c55a90d564f88f717c84a054e8a3d3b90d541f.zip |
Fix a warning in the osx-specific part of os_unix.c. Ticket #3847. (CVS 6620)
FossilOrigin-Name: 254ca3273cfbd833de82296b4859e1ec5535e8be
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 8776acaa5..9ad4bac8d 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -43,7 +43,7 @@ ** * Definitions of sqlite3_vfs objects for all locking methods ** plus implementations of sqlite3_os_init() and sqlite3_os_end(). ** -** $Id: os_unix.c,v 1.250 2009/04/07 05:35:04 chw Exp $ +** $Id: os_unix.c,v 1.251 2009/05/08 11:34:37 danielk1977 Exp $ */ #include "sqliteInt.h" #if SQLITE_OS_UNIX /* This file is used on unix only */ @@ -4427,8 +4427,8 @@ static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){ len = strlcat(lPath, "sqliteplocks", maxLen); if( mkdir(lPath, SQLITE_DEFAULT_PROXYDIR_PERMISSIONS) ){ /* if mkdir fails, handle as lock file creation failure */ - int err = errno; # ifdef SQLITE_DEBUG + int err = errno; if( err!=EEXIST ){ fprintf(stderr, "proxyGetLockPath: mkdir(%s,0%o) error %d %s\n", lPath, SQLITE_DEFAULT_PROXYDIR_PERMISSIONS, err, strerror(err)); |