Commit b84a8723 b84a8723720c55581a4eb0100c5b483fc6adebe5 by Sergey Poznyakoff

Bugfix.

* libmu_dbm/berkeley.c (do_bdb_open): Fix typo.
1 parent b4439f97
...@@ -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);
......