=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/patch.c,v retrieving revision 1.61 retrieving revision 1.62 diff -c -r1.61 -r1.62 *** src/usr.bin/patch/patch.c 2015/11/11 02:52:46 1.61 --- src/usr.bin/patch/patch.c 2015/12/29 19:04:46 1.62 *************** *** 1,4 **** ! /* $OpenBSD: patch.c,v 1.61 2015/11/11 02:52:46 deraadt Exp $ */ /* * patch - a program to apply diffs to original files --- 1,4 ---- ! /* $OpenBSD: patch.c,v 1.62 2015/12/29 19:04:46 gsoares Exp $ */ /* * patch - a program to apply diffs to original files *************** *** 150,156 **** if (pledge("stdio rpath wpath cpath tmppath fattr", NULL) == -1) { perror("pledge"); ! exit(1); } setvbuf(stdout, NULL, _IOLBF, 0); --- 150,156 ---- if (pledge("stdio rpath wpath cpath tmppath fattr", NULL) == -1) { perror("pledge"); ! my_exit(2); } setvbuf(stdout, NULL, _IOLBF, 0);