When we have to print usage instructions, don't indicate success in the exit

status.
This commit is contained in:
kleink 1999-11-08 10:21:20 +00:00
parent 9cec807b1c
commit c9954566b9
2 changed files with 4 additions and 4 deletions

View File

@ -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 * Copyright (c) 1999 Matthew R. Green
@ -416,5 +416,5 @@ usage()
"-m monitor volume\n\t" "-m monitor volume\n\t"
"-p output port\n\t" "-p output port\n\t"
"-v volume\n"); "-v volume\n");
exit(0); exit(EXIT_FAILURE);
} }

View File

@ -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 * Copyright (c) 1999 Matthew R. Green
@ -376,5 +376,5 @@ usage()
"-s sample rate\n\t" "-s sample rate\n\t"
"-t recording time\n\t" "-t recording time\n\t"
"-v volume\n"); "-v volume\n");
exit(0); exit(EXIT_FAILURE);
} }