diff options
-rw-r--r-- | sys/dev/sound/pcm/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/buffer.c b/sys/dev/sound/pcm/buffer.c index 46759cb..773bc35 100644 --- a/sys/dev/sound/pcm/buffer.c +++ b/sys/dev/sound/pcm/buffer.c @@ -131,7 +131,7 @@ sndbuf_resize(struct snd_dbuf *b, unsigned int blkcnt, unsigned int blksz) goto out; chn_unlock(b->channel); - tmpbuf = malloc(blkcnt * blksz, M_DEVBUF, M_WAITOK); + tmpbuf = malloc(blkcnt * blksz, M_DEVBUF, M_NOWAIT); if (tmpbuf == NULL) return ENOMEM; chn_lock(b->channel); |