summaryrefslogtreecommitdiffstats
path: root/usr.bin/colldef
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-06-30 11:24:18 +0000
committercharnier <charnier@FreeBSD.org>1997-06-30 11:24:18 +0000
commitf3aa4e706ec9df10aba0a7e026f660eee66f5b29 (patch)
tree268ae52cbbee846110c6ee17a01c568152a9b30d /usr.bin/colldef
parent46627309b6e765649f54964a6aa294f6540e381e (diff)
downloadFreeBSD-src-f3aa4e706ec9df10aba0a7e026f660eee66f5b29.zip
FreeBSD-src-f3aa4e706ec9df10aba0a7e026f660eee66f5b29.tar.gz
Use EX_USAGE in usage().
Diffstat (limited to 'usr.bin/colldef')
-rw-r--r--usr.bin/colldef/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y
index 8cc7836..e316e1c 100644
--- a/usr.bin/colldef/parse.y
+++ b/usr.bin/colldef/parse.y
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: parse.y,v 1.8 1997/03/11 14:40:40 peter Exp $
+ * $Id: parse.y,v 1.9 1997/06/26 11:25:17 charnier Exp $
*/
#include <err.h>
@@ -253,7 +253,7 @@ static void
usage()
{
fprintf(stderr, "usage: colldef [-o out_file] [-I map_dir] [filename]\n");
- exit(EX_OK);
+ exit(EX_USAGE);
}
void yyerror(char *fmt, ...)
OpenPOWER on IntegriCloud