Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Fix a build error. Found by joerg@
details: https://anonhg.NetBSD.org/src/rev/a7c1ef626ebf
branches: trunk
changeset: 819501:a7c1ef626ebf
user: nat <nat%NetBSD.org@localhost>
date: Thu Dec 08 20:33:52 2016 +0000
description:
Fix a build error. Found by joerg@
diffstat:
sys/dev/audio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7362a8ec5bab -r a7c1ef626ebf sys/dev/audio.c
--- a/sys/dev/audio.c Thu Dec 08 19:35:10 2016 +0000
+++ b/sys/dev/audio.c Thu Dec 08 20:33:52 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.269 2016/12/08 10:28:44 nat Exp $ */
+/* $NetBSD: audio.c,v 1.270 2016/12/08 20:33:52 nat Exp $ */
/*-
* Copyright (c) 2016 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -148,7 +148,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.269 2016/12/08 10:28:44 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.270 2016/12/08 20:33:52 nat Exp $");
#include "audio.h"
#if NAUDIO > 0
@@ -3580,7 +3580,7 @@
continue;
i--;
vc = sc->sc_vchan[n];
- if (!vc->sc_open & AUOPEN_READ)
+ if (!(vc->sc_open & AUOPEN_READ))
continue;
if (!vc->sc_rbus)
continue;
Home |
Main Index |
Thread Index |
Old Index