Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev kern/45927: fix incorrect assert.
details: https://anonhg.NetBSD.org/src/rev/5b960234f37b
branches: trunk
changeset: 777526:5b960234f37b
user: nonaka <nonaka%NetBSD.org@localhost>
date: Tue Feb 21 20:53:34 2012 +0000
description:
kern/45927: fix incorrect assert.
diffstat:
sys/dev/audio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 92f15a721fee -r 5b960234f37b sys/dev/audio.c
--- a/sys/dev/audio.c Tue Feb 21 19:25:05 2012 +0000
+++ b/sys/dev/audio.c Tue Feb 21 20:53:34 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.257 2011/12/13 12:26:32 mrg Exp $ */
+/* $NetBSD: audio.c,v 1.258 2012/02/21 20:53:34 nonaka Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -155,7 +155,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.257 2011/12/13 12:26:32 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.258 2012/02/21 20:53:34 nonaka Exp $");
#include "audio.h"
#if NAUDIO > 0
@@ -2678,7 +2678,7 @@
paddr_t rv;
KASSERT(mutex_owned(sc->sc_lock));
- KASSERT(sc->sc_dvlock < 0);
+ KASSERT(sc->sc_dvlock > 0);
DPRINTF(("audio_mmap: off=%lld, prot=%d\n", (long long)off, prot));
hw = sc->hw_if;
Home |
Main Index |
Thread Index |
Old Index