diff options
Diffstat (limited to 'sys/dev/sound/pcm/fake.c')
-rw-r--r-- | sys/dev/sound/pcm/fake.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/fake.c b/sys/dev/sound/pcm/fake.c index 8c4ba77..f1bd33c 100644 --- a/sys/dev/sound/pcm/fake.c +++ b/sys/dev/sound/pcm/fake.c @@ -117,8 +117,8 @@ fkchan_setup(device_t dev) struct snddev_info *d = device_get_softc(dev); struct pcm_channel *c; - c = malloc(sizeof(*c), M_DEVBUF, M_WAITOK); - c->methods = kobj_create(&fkchan_class, M_DEVBUF, M_WAITOK); + c = malloc(sizeof(*c), M_DEVBUF, 0); + c->methods = kobj_create(&fkchan_class, M_DEVBUF, 0); c->parentsnddev = d; snprintf(c->name, CHN_NAMELEN, "%s:fake", device_get_nameunit(dev)); |