summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/sndstat.c
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2003-12-08 01:08:03 +0000
committertruckman <truckman@FreeBSD.org>2003-12-08 01:08:03 +0000
commit0d24e4faddbeb48d576a432e3dd20bf76c045f96 (patch)
tree6584b569569d38f64c6bd928bb75e32c44f099d6 /sys/dev/sound/pcm/sndstat.c
parent672d48f582ee28a50650e63f90c182d45e4cae58 (diff)
downloadFreeBSD-src-0d24e4faddbeb48d576a432e3dd20bf76c045f96.zip
FreeBSD-src-0d24e4faddbeb48d576a432e3dd20bf76c045f96.tar.gz
The last argument to mtx_init() should be MTX_DEF, not 0. This is not a
functional change since MTX_DEF happens to be defined as 0.
Diffstat (limited to 'sys/dev/sound/pcm/sndstat.c')
-rw-r--r--sys/dev/sound/pcm/sndstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/sndstat.c b/sys/dev/sound/pcm/sndstat.c
index 5c44771..77c63f3 100644
--- a/sys/dev/sound/pcm/sndstat.c
+++ b/sys/dev/sound/pcm/sndstat.c
@@ -340,7 +340,7 @@ sndstat_prepare(struct sbuf *s)
static int
sndstat_init(void)
{
- mtx_init(&sndstat_lock, "sndstat", NULL, 0);
+ mtx_init(&sndstat_lock, "sndstat", NULL, MTX_DEF);
sndstat_dev = make_dev(&sndstat_cdevsw, SND_DEV_STATUS, UID_ROOT, GID_WHEEL, 0444, "sndstat");
return (sndstat_dev != 0)? 0 : ENXIO;
OpenPOWER on IntegriCloud