From e41b9c8bc985e43b76dd58c8d1fcb8e2f492894b Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 4 Apr 2002 20:56:47 +0000 Subject: Add lock type arguments to callers of snd_mtxcreate(). --- sys/dev/sound/pcm/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/sound/pcm/mixer.c') 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; -- cgit v1.1