summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libsmdb/smndbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/libsmdb/smndbm.c')
-rw-r--r--contrib/sendmail/libsmdb/smndbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sendmail/libsmdb/smndbm.c b/contrib/sendmail/libsmdb/smndbm.c
index 64fff00..89ecf63 100644
--- a/contrib/sendmail/libsmdb/smndbm.c
+++ b/contrib/sendmail/libsmdb/smndbm.c
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: smndbm.c,v 1.1.1.5 2002/04/10 03:04:59 gshapiro Exp $")
+SM_RCSID("@(#)$Id: smndbm.c,v 8.52 2002/05/21 22:30:30 gshapiro Exp $")
#include <fcntl.h>
#include <stdlib.h>
@@ -560,7 +560,7 @@ smdb_ndbm_open(database, db_name, mode, mode_mask, sff, type, user_info,
db->smndbm_lock_fd = lock_fd;
errno = 0;
- dbm = dbm_open(db_name, mode, 0644);
+ dbm = dbm_open(db_name, mode, DBMMODE);
if (dbm == NULL)
{
if (errno == 0)
OpenPOWER on IntegriCloud