aboutsummaryrefslogtreecommitdiff
path: root/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'edit.c')
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index a367f161fe53..515a4ff519d5 100644
--- a/edit.c
+++ b/edit.c
@@ -977,7 +977,7 @@ loop:
/*
* Overwrite: create the file.
*/
- logfile = creat(filename, 0644);
+ logfile = creat(filename, CREAT_RW);
break;
case 'A': case 'a':
/*