aboutsummaryrefslogtreecommitdiff
path: root/src/testgdbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testgdbm.c')
-rw-r--r--src/testgdbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testgdbm.c b/src/testgdbm.c
index 9d026cc..409fe9a 100644
--- a/src/testgdbm.c
+++ b/src/testgdbm.c
@@ -123,7 +123,7 @@ _gdbm_avail_list_size (GDBM_FILE dbf, size_t min_size)
/* Traverse the stack. */
while (temp)
{
- if (__lseek (dbf, temp, L_SET) != temp)
+ if (__lseek (dbf, temp, SEEK_SET) != temp)
{
error (0, "lseek: %s", strerror (errno));
break;
@@ -177,7 +177,7 @@ _gdbm_print_avail_list (FILE *fp, GDBM_FILE dbf)
/* Print the stack. */
while (temp)
{
- if (__lseek (dbf, temp, L_SET) != temp)
+ if (__lseek (dbf, temp, SEEK_SET) != temp)
{
error (0, "lseek: %s", strerror (errno));
break;

Return to:

Send suggestions and report system problems to the System administrator.