From 51ab93526e2c7b623366d7717b600e1607d02927 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 26 Mar 2011 21:45:48 +0000 Subject: [PATCH] Exit with EXIT_FAILURE for invalid arguments. PR 43517. --- usr.bin/patch/patch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c index 072a2e8888e6..c3b89a3a814d 100644 --- a/usr.bin/patch/patch.c +++ b/usr.bin/patch/patch.c @@ -1,7 +1,7 @@ /* * $OpenBSD: patch.c,v 1.45 2007/04/18 21:52:24 sobrado Exp $ * $DragonFly: src/usr.bin/patch/patch.c,v 1.10 2008/08/10 23:39:56 joerg Exp $ - * $NetBSD: patch.c,v 1.27 2008/09/19 18:33:34 joerg Exp $ + * $NetBSD: patch.c,v 1.28 2011/03/26 21:45:48 dholland Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__RCSID("$NetBSD: patch.c,v 1.27 2008/09/19 18:33:34 joerg Exp $"); +__RCSID("$NetBSD: patch.c,v 1.28 2011/03/26 21:45:48 dholland Exp $"); #include #include @@ -623,7 +623,7 @@ usage(void) " [-r rej-name] [-V t | nil | never] [-x number] [-z backup-ext]\n" " [--posix] [origfile [patchfile]]\n" " patch