aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmsync.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-06-27 11:52:23 +0300
committerSergey Poznyakoff <gray@gnu.org>2021-07-17 22:56:25 +0300
commit4ae4541e80a6e6b43c3b6b58fa582a382722205d (patch)
tree9a4487f6d0deeb80adef434b120c05729a06dd10 /src/gdbmsync.c
parent77a7770231f5947c8401a6bd85673da6d767350e (diff)
downloadgdbm-4ae4541e80a6e6b43c3b6b58fa582a382722205d.tar.gz
gdbm-4ae4541e80a6e6b43c3b6b58fa582a382722205d.tar.bz2
Bugfix
* src/gdbmsync.c (stat_snapshot): Fix typo (missing parentheses).
Diffstat (limited to 'src/gdbmsync.c')
-rw-r--r--src/gdbmsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmsync.c b/src/gdbmsync.c
index f49b314..266f249 100644
--- a/src/gdbmsync.c
+++ b/src/gdbmsync.c
@@ -222,7 +222,7 @@ stat_snapshot (const char *f, struct stat *st)
if (S_IWUSR & st->st_mode)
return -1; /* f is both readable and writable */
}
- else if (!S_IWUSR & st->st_mode)
+ else if (!(S_IWUSR & st->st_mode))
return -1; /* f is neither readable nor writable */
return 0;
}

Return to:

Send suggestions and report system problems to the System administrator.