summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2018-07-31 07:39:53 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-07-31 07:39:53 (GMT)
commit1059526e357da1aa92e5c020332f4b39ceb37503 (patch) (side-by-side diff)
tree70fd7679d8e575d93903ceeb60e75d6505b17edc
parent65e725ea916f3076ee417ae8fd70ca790a5000d8 (diff)
downloadgdbm-1059526e357da1aa92e5c020332f4b39ceb37503.tar.gz
gdbm-1059526e357da1aa92e5c020332f4b39ceb37503.tar.bz2
Bugfix
* src/gdbmsync.c (gdbm_sync): Always return a meaningful value
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--src/gdbmsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmsync.c b/src/gdbmsync.c
index a8d1002..a75952b 100644
--- a/src/gdbmsync.c
+++ b/src/gdbmsync.c
@@ -28,7 +28,7 @@ int
gdbm_sync (GDBM_FILE dbf)
{
/* Return immediately if the database needs recovery */
- GDBM_ASSERT_CONSISTENCY (dbf, );
+ GDBM_ASSERT_CONSISTENCY (dbf, -1);
/* Initialize the gdbm_errno variable. */
gdbm_set_errno (dbf, GDBM_NO_ERROR, FALSE);

Return to:

Send suggestions and report system problems to the System administrator.