diff options
Diffstat (limited to 'app/xpr/xpr.c')
-rw-r--r-- | app/xpr/xpr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/xpr/xpr.c b/app/xpr/xpr.c index 90b1b66d0..9acb77886 100644 --- a/app/xpr/xpr.c +++ b/app/xpr/xpr.c @@ -700,7 +700,7 @@ void parse_args( } if (infilename) { - f = open(infilename, O_RDONLY|O_BINARY, 0); + f = open(infilename, O_RDONLY|O_BINARY); if (f < 0) { fprintf(stderr, "xpr: error opening \"%s\" for input\n", infilename); @@ -716,7 +716,7 @@ void parse_args( if (!(*flags & F_APPEND)) { f = open(output_filename, O_CREAT|O_WRONLY|O_TRUNC, 0664); } else { - f = open(output_filename, O_WRONLY, 0); + f = open(output_filename, O_WRONLY); } if (f < 0) { fprintf(stderr, "xpr: error opening \"%s\" for output\n", |