termux-packages/packages/gdbm/src-gdbmsync.c.patch

17 lines
487 B
Diff
Raw Normal View History

2018-07-31 21:40:02 +02:00
http://git.gnu.org.ua/cgit/gdbm.git/commit/?id=1059526e357da1aa92e5c020332f4b39ceb37503
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);