=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/patch.c,v retrieving revision 1.67 retrieving revision 1.68 diff -c -r1.67 -r1.68 *** src/usr.bin/patch/patch.c 2019/06/28 05:35:35 1.67 --- src/usr.bin/patch/patch.c 2019/06/28 13:35:02 1.68 *************** *** 1,4 **** ! /* $OpenBSD: patch.c,v 1.67 2019/06/28 05:35:35 deraadt Exp $ */ /* * patch - a program to apply diffs to original files --- 1,4 ---- ! /* $OpenBSD: patch.c,v 1.68 2019/06/28 13:35:02 deraadt Exp $ */ /* * patch - a program to apply diffs to original files *************** *** 511,517 **** check_only = true; break; case 'd': ! if (chdir(optarg) < 0) pfatal("can't cd to %s", optarg); break; case 'D': --- 511,517 ---- check_only = true; break; case 'd': ! if (chdir(optarg) == -1) pfatal("can't cd to %s", optarg); break; case 'D':