aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
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 7cc55c913..50bacfbf7 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4974,7 +4974,7 @@ static int unixShmOpen(
}
memset(pNew, 0, sizeof(*pNew));
pNew->zFilename = (char*)&pNew[1];
- sqlite3_snprintf(nName+11, pNew->zFilename, "%s-wal-index", zName);
+ sqlite3_snprintf(nName+12, pNew->zFilename, "%s-wal-index", zName);
/* Look to see if there is an existing unixShmFile that can be used.
** If no matching unixShmFile currently exists, create a new one.