diff options
Diffstat (limited to 'usr.bin/patch/patch.c')
-rw-r--r-- | usr.bin/patch/patch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c index 63df8d43218..2011fbd42f8 100644 --- a/usr.bin/patch/patch.c +++ b/usr.bin/patch/patch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: patch.c,v 1.61 2015/11/11 02:52:46 deraadt Exp $ */ +/* $OpenBSD: patch.c,v 1.62 2015/12/29 19:04:46 gsoares Exp $ */ /* * patch - a program to apply diffs to original files @@ -150,7 +150,7 @@ main(int argc, char *argv[]) if (pledge("stdio rpath wpath cpath tmppath fattr", NULL) == -1) { perror("pledge"); - exit(1); + my_exit(2); } setvbuf(stdout, NULL, _IOLBF, 0); |