summaryrefslogtreecommitdiff
path: root/usr.bin/midicat/midicat.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/midicat/midicat.c')
-rw-r--r--usr.bin/midicat/midicat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/midicat/midicat.c b/usr.bin/midicat/midicat.c
index 76595451bcc..b8690d3c040 100644
--- a/usr.bin/midicat/midicat.c
+++ b/usr.bin/midicat/midicat.c
@@ -97,7 +97,7 @@ main(int argc, char **argv)
if (strcmp(ifile, "-") == 0)
ifd = STDIN_FILENO;
else {
- ifd = open(ifile, O_RDONLY, 0);
+ ifd = open(ifile, O_RDONLY);
if (ifd == -1) {
perror(ifile);
return 1;