Project

General

Profile

Bug #3286 » dsp.c.patch

mwiencek, 06/27/2021 12:11 AM

View differences:

sys/dev/sound/pcm/dsp.c
kn->kn_hook = (caddr_t)rdch;
bs = rdch->bufsoft;
ap->a_result = 0;
} else {
ap->a_result = -1;
}
break;
case EVFILT_WRITE:
......
kn->kn_hook = (caddr_t)wrch;
bs = wrch->bufsoft;
ap->a_result = 0;
} else {
ap->a_result = -1;
}
break;
default:
(1-1/2)