From c9954566b9afb13310ce656ebabbd1259ffd1d94 Mon Sep 17 00:00:00 2001 From: kleink Date: Mon, 8 Nov 1999 10:21:20 +0000 Subject: [PATCH] When we have to print usage instructions, don't indicate success in the exit status. --- usr.bin/audio/play/play.c | 4 ++-- usr.bin/audio/record/record.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/audio/play/play.c b/usr.bin/audio/play/play.c index 2612ec97538d..031ac89612d4 100644 --- a/usr.bin/audio/play/play.c +++ b/usr.bin/audio/play/play.c @@ -1,4 +1,4 @@ -/* $NetBSD: play.c,v 1.15 1999/11/06 15:05:45 kleink Exp $ */ +/* $NetBSD: play.c,v 1.16 1999/11/08 10:21:20 kleink Exp $ */ /* * Copyright (c) 1999 Matthew R. Green @@ -416,5 +416,5 @@ usage() "-m monitor volume\n\t" "-p output port\n\t" "-v volume\n"); - exit(0); + exit(EXIT_FAILURE); } diff --git a/usr.bin/audio/record/record.c b/usr.bin/audio/record/record.c index 0443562e745a..a1c69fa4c74a 100644 --- a/usr.bin/audio/record/record.c +++ b/usr.bin/audio/record/record.c @@ -1,4 +1,4 @@ -/* $NetBSD: record.c,v 1.8 1999/09/27 01:58:07 mrg Exp $ */ +/* $NetBSD: record.c,v 1.9 1999/11/08 10:21:21 kleink Exp $ */ /* * Copyright (c) 1999 Matthew R. Green @@ -376,5 +376,5 @@ usage() "-s sample rate\n\t" "-t recording time\n\t" "-v volume\n"); - exit(0); + exit(EXIT_FAILURE); }