diff options
author | jhb <jhb@FreeBSD.org> | 2002-04-04 20:56:47 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-04-04 20:56:47 +0000 |
commit | e41b9c8bc985e43b76dd58c8d1fcb8e2f492894b (patch) | |
tree | b793de57a7a8d6dd735f55c26084755dcbbc8156 /sys/dev/sound/pcm/mixer.c | |
parent | 4ca17c54a379a9078a74f29d8d42cf1ddeae30ff (diff) | |
download | FreeBSD-src-e41b9c8bc985e43b76dd58c8d1fcb8e2f492894b.zip FreeBSD-src-e41b9c8bc985e43b76dd58c8d1fcb8e2f492894b.tar.gz |
Add lock type arguments to callers of snd_mtxcreate().
Diffstat (limited to 'sys/dev/sound/pcm/mixer.c')
-rw-r--r-- | sys/dev/sound/pcm/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index d4894a5..f732b3f 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -202,7 +202,7 @@ mixer_init(device_t dev, kobj_class_t cls, void *devinfo) m = (struct snd_mixer *)kobj_create(cls, M_MIXER, M_WAITOK | M_ZERO); snprintf(m->name, MIXER_NAMELEN, "%s:mixer", device_get_nameunit(dev)); - m->lock = snd_mtxcreate(m->name); + m->lock = snd_mtxcreate(m->name, "pcm mixer"); m->type = cls->name; m->devinfo = devinfo; m->busy = 0; |