summaryrefslogtreecommitdiffabout
path: root/src/falloc.c
Unidiff
Diffstat (limited to 'src/falloc.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/falloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/falloc.c b/src/falloc.c
index 13ee0ed..2f21ebe 100644
--- a/src/falloc.c
+++ b/src/falloc.c
@@ -191,7 +191,7 @@ pop_avail_block (GDBM_FILE dbf)
191 } 191 }
192 192
193 /* Read the block. */ 193 /* Read the block. */
194 file_pos = __lseek (dbf, new_el.av_adr, SEEK_SET); 194 file_pos = gdbm_file_seek (dbf, new_el.av_adr, SEEK_SET);
195 if (file_pos != new_el.av_adr) 195 if (file_pos != new_el.av_adr)
196 { 196 {
197 GDBM_SET_ERRNO (dbf, GDBM_FILE_SEEK_ERROR, TRUE); 197 GDBM_SET_ERRNO (dbf, GDBM_FILE_SEEK_ERROR, TRUE);
@@ -321,7 +321,7 @@ push_avail_block (GDBM_FILE dbf)
321 _gdbm_free (dbf, new_loc.av_adr, new_loc.av_size); 321 _gdbm_free (dbf, new_loc.av_adr, new_loc.av_size);
322 322
323 /* Update the disk. */ 323 /* Update the disk. */
324 file_pos = __lseek (dbf, av_adr, SEEK_SET); 324 file_pos = gdbm_file_seek (dbf, av_adr, SEEK_SET);
325 if (file_pos != av_adr) 325 if (file_pos != av_adr)
326 { 326 {
327 GDBM_SET_ERRNO (dbf, GDBM_FILE_SEEK_ERROR, TRUE); 327 GDBM_SET_ERRNO (dbf, GDBM_FILE_SEEK_ERROR, TRUE);

Return to:

Send suggestions and report system problems to the System administrator.