diff options
author | Gleydson Soares <gsoares@cvs.openbsd.org> | 2016-01-04 14:09:47 +0000 |
---|---|---|
committer | Gleydson Soares <gsoares@cvs.openbsd.org> | 2016-01-04 14:09:47 +0000 |
commit | d17cd81976a1bf3e3d09b03c740fd41a058f4152 (patch) | |
tree | cfe2038fdee203c2704e6dfbffe1a78464e65921 /usr.bin/patch/patch.c | |
parent | f8af0383a634bb1024f21acbbd6f55f55daa220d (diff) |
usage() should exit 2 here, not EXIT_SUCCESS
ok tb@
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 2011fbd42f8..8f8f8cd4e49 100644 --- a/usr.bin/patch/patch.c +++ b/usr.bin/patch/patch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: patch.c,v 1.62 2015/12/29 19:04:46 gsoares Exp $ */ +/* $OpenBSD: patch.c,v 1.63 2016/01/04 14:09:46 gsoares Exp $ */ /* * patch - a program to apply diffs to original files @@ -618,7 +618,7 @@ usage(void) " [-r rej-name] [-V t | nil | never] [-x number] [-z backup-ext]\n" " [--posix] [origfile [patchfile]]\n" " patch <patchfile\n"); - my_exit(EXIT_SUCCESS); + my_exit(2); } /* |