summaryrefslogtreecommitdiffabout
path: root/src/gdbmclose.c
Unidiff
Diffstat (limited to 'src/gdbmclose.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/gdbmclose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmclose.c b/src/gdbmclose.c
index c638183..ead9187 100644
--- a/src/gdbmclose.c
+++ b/src/gdbmclose.c
@@ -35,7 +35,7 @@ gdbm_close (GDBM_FILE dbf)
35 { 35 {
36 /* Make sure the database is all on disk. */ 36 /* Make sure the database is all on disk. */
37 if (dbf->read_write != GDBM_READER) 37 if (dbf->read_write != GDBM_READER)
38 __fsync (dbf); 38 gdbm_file_sync (dbf);
39 39
40 /* Close the file and free all malloced memory. */ 40 /* Close the file and free all malloced memory. */
41#if HAVE_MMAP 41#if HAVE_MMAP

Return to:

Send suggestions and report system problems to the System administrator.