aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdbmstore.c')
-rw-r--r--src/gdbmstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmstore.c b/src/gdbmstore.c
index 367cc4f..aedf375 100644
--- a/src/gdbmstore.c
+++ b/src/gdbmstore.c
@@ -136,7 +136,7 @@ gdbm_store (GDBM_FILE dbf, datum key, datum content, int flags)
dbf->bucket->h_table[elem_loc].data_size = content.dsize;
/* Write the data to the file. */
- file_pos = __lseek (dbf, file_adr, L_SET);
+ file_pos = __lseek (dbf, file_adr, SEEK_SET);
if (file_pos != file_adr) _gdbm_fatal (dbf, _("lseek error"));
rc = _gdbm_full_write (dbf, key.dptr, key.dsize);
if (rc)

Return to:

Send suggestions and report system problems to the System administrator.