aboutsummaryrefslogtreecommitdiff
path: root/compat/dbmopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/dbmopen.c')
-rw-r--r--compat/dbmopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/dbmopen.c b/compat/dbmopen.c
index b9e7518..0538992 100644
--- a/compat/dbmopen.c
+++ b/compat/dbmopen.c
@@ -87,7 +87,7 @@ ndbm_open_dir_file0 (const char *file_name, int pagfd, int mode)
87 if ((mode & GDBM_OPENMASK) == GDBM_READER) 87 if ((mode & GDBM_OPENMASK) == GDBM_READER)
88 /* Ok, try to cope with it. */ 88 /* Ok, try to cope with it. */
89 return pagfd; 89 return pagfd;
90 else 90 else if (errno != ENOENT)
91 { 91 {
92 gdbm_set_errno (NULL, GDBM_FILE_OPEN_ERROR, TRUE); 92 gdbm_set_errno (NULL, GDBM_FILE_OPEN_ERROR, TRUE);
93 return -1; 93 return -1;

Return to:

Send suggestions and report system problems to the System administrator.