=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/midicat/midicat.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/midicat/midicat.c 2019/06/28 13:35:02 1.2 +++ src/usr.bin/midicat/midicat.c 2021/10/24 21:24:17 1.3 @@ -97,7 +97,7 @@ 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;