Bugfix.
* libmu_dbm/berkeley.c (do_bdb_open): Fix typo.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -108,7 +108,7 @@ do_bdb_open (mu_dbm_file_t mdb, int flags, int mode) | ... | @@ -108,7 +108,7 @@ do_bdb_open (mu_dbm_file_t mdb, int flags, int mode) |
108 | if (access (mdb->db_name, R_OK) && errno == ENOENT) | 108 | if (access (mdb->db_name, R_OK) && errno == ENOENT) |
109 | { | 109 | { |
110 | tfd = open (mdb->db_name, O_CREAT|O_RDONLY|O_EXCL, | 110 | tfd = open (mdb->db_name, O_CREAT|O_RDONLY|O_EXCL, |
111 | mu_file_mode_to_safety_criteria (mdb->db_safety_flags)); | 111 | mu_safety_criteria_to_file_mode (mdb->db_safety_flags)); |
112 | if (tfd == -1) | 112 | if (tfd == -1) |
113 | { | 113 | { |
114 | mu_locker_destroy (&bdb_file->locker); | 114 | mu_locker_destroy (&bdb_file->locker); | ... | ... |
-
Please register or sign in to post a comment