aboutsummaryrefslogtreecommitdiff
path: root/editors/patch.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/patch.c')
-rw-r--r--editors/patch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/patch.c b/editors/patch.c
index 764f0f183..66a9474fe 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -591,7 +591,7 @@ int patch_main(int argc UNUSED_PARAM, char **argv)
591 xmkpath(name, -1); 591 xmkpath(name, -1);
592 *s = '/'; 592 *s = '/';
593 } 593 }
594 TT.filein = xopen3(name, O_CREAT|O_EXCL|O_RDWR, 0666); 594 TT.filein = xopen(name, O_CREAT|O_EXCL|O_RDWR);
595 } else { 595 } else {
596 printf("patching file %s\n", name); 596 printf("patching file %s\n", name);
597 TT.filein = xopen(name, O_RDONLY); 597 TT.filein = xopen(name, O_RDONLY);