Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/audio/play fix defect where specifying channels woul...



details:   https://anonhg.NetBSD.org/src/rev/6890643f5fcb
branches:  trunk
changeset: 473019:6890643f5fcb
user:      jtk <jtk%NetBSD.org@localhost>
date:      Mon May 17 02:03:36 1999 +0000

description:
fix defect where specifying channels would also specify the same string
as the control device (missing 'break')

diffstat:

 usr.bin/audio/play/play.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r eb65ad17b9c0 -r 6890643f5fcb usr.bin/audio/play/play.c
--- a/usr.bin/audio/play/play.c Mon May 17 01:10:51 1999 +0000
+++ b/usr.bin/audio/play/play.c Mon May 17 02:03:36 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: play.c,v 1.9 1999/04/13 07:21:45 mrg Exp $     */
+/*     $NetBSD: play.c,v 1.10 1999/05/17 02:03:36 jtk Exp $    */
 
 /*
  * Copyright (c) 1999 Matthew R. Green
@@ -90,6 +90,7 @@
                        decode_int(optarg, &channels);
                        if (channels < 0)
                                errx(1, "channels must be positive");
+                       break;
                case 'C':
                        ctldev = optarg;
                        break;



Home | Main Index | Thread Index | Old Index