=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sdiff/sdiff.c,v retrieving revision 1.38 retrieving revision 1.39 diff -c -r1.38 -r1.39 *** src/usr.bin/sdiff/sdiff.c 2021/07/12 15:09:20 1.38 --- src/usr.bin/sdiff/sdiff.c 2021/10/24 21:24:17 1.39 *************** *** 1,4 **** ! /* $OpenBSD: sdiff.c,v 1.38 2021/07/12 15:09:20 beck Exp $ */ /* * Written by Raymond Lai . --- 1,4 ---- ! /* $OpenBSD: sdiff.c,v 1.39 2021/10/24 21:24:17 deraadt Exp $ */ /* * Written by Raymond Lai . *************** *** 102,108 **** char *target_file; /* Open input and output. */ ! ifd = open(source_file, O_RDONLY, 0); /* File was opened successfully. */ if (ifd != -1) { if (fstat(ifd, &sb) == -1) --- 102,108 ---- char *target_file; /* Open input and output. */ ! ifd = open(source_file, O_RDONLY); /* File was opened successfully. */ if (ifd != -1) { if (fstat(ifd, &sb) == -1)