aboutsummaryrefslogtreecommitdiff
path: root/compat/dbmdirfno.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/dbmdirfno.c')
-rw-r--r--compat/dbmdirfno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/dbmdirfno.c b/compat/dbmdirfno.c
index 8e7f957..a586c7a 100644
--- a/compat/dbmdirfno.c
+++ b/compat/dbmdirfno.c
@@ -28,5 +28,5 @@
int
dbm_dirfno (DBM *dbm)
{
- return (dbm->file->desc);
+ return dbm->dirfd;
}

Return to:

Send suggestions and report system problems to the System administrator.