--- snd.orig/snd-clm.c Thu Feb 12 15:37:13 1998 +++ snd-clm.c Sun Feb 22 02:20:40 1998 @@ -753,7 +753,11 @@ { /* turn off inputs (they create an unbelievable amount of noise) and maximize outputs */ int fd,amp,devmask; +#ifdef __NetBSD__ + fd = open("/dev/audio",O_WRONLY,0); +#else /* !__NetBSD__ */ fd = open("/dev/dsp",O_WRONLY,0); +#endif /* __NetBSD__ */ if (fd == -1) return; amp = 0; ioctl(fd,SOUND_MIXER_READ_DEVMASK,&devmask);