aboutsummaryrefslogtreecommitdiff
path: root/compat/dbminit.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/dbminit.c')
-rw-r--r--compat/dbminit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/dbminit.c b/compat/dbminit.c
index 94ddc22..f5c5a65 100644
--- a/compat/dbminit.c
+++ b/compat/dbminit.c
@@ -48,7 +48,7 @@ dbminit (char *file)
/* Did we successfully open the file? */
if (_gdbm_file == NULL)
{
- gdbm_errno = GDBM_FILE_OPEN_ERROR;
+ gdbm_set_errno (NULL, GDBM_FILE_OPEN_ERROR, 1);
return -1;
}
}

Return to:

Send suggestions and report system problems to the System administrator.