On Wed, Jan 13, 2016 at 06:03:17PM +0200, Ville Valkonen wrote:
> looks like there's a missing break in audio.c, since error gets assigned
> twice and not read in between.

You're right, but this has already been fixed in -current a few days
ago:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/audio.c.diff?r1=1.140&r2=1.141

Please make sure your tree is up to date


> 
> --- sys/dev/audio.c.old    Wed Jan 13 17:55:32 2016
> +++ sys/dev/audio.c    Wed Jan 13 17:55:48 2016
> @@ -1704,6 +1704,7 @@ audioclose(dev_t dev, int flags, int ifmt, struct proc
>      case AUDIO_DEV_MIXER:
>      case AUDIO_DEV_AUDIOCTL:
>          error = 0;
> +        break;
>      default:
>          error = ENXIO;
>      }
> 
> --
> Kind regards,
> Ville Valkonen

Reply via email to