Module Name: src Committed By: nat Date: Thu Dec 8 20:33:52 UTC 2016
Modified Files: src/sys/dev: audio.c Log Message: Fix a build error. Found by joerg@ To generate a diff of this commit: cvs rdiff -u -r1.269 -r1.270 src/sys/dev/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/audio.c diff -u src/sys/dev/audio.c:1.269 src/sys/dev/audio.c:1.270 --- src/sys/dev/audio.c:1.269 Thu Dec 8 10:28:44 2016 +++ src/sys/dev/audio.c Thu Dec 8 20:33:52 2016 @@ -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 <nathanialsl...@yahoo.com.au> @@ -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 @@ audio_upmix(void *v) 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;