"Michael van Elst" <mlel...@netbsd.org> writes:

> Modified Files:
>       src/sys/dev: dksubr.c
>
> Log Message:
> warn about labels only when built with DIAGNOSTIC

This feels like an abuse of DIAGNOSTIC, which is supposed to be about
asserts for detecting internal inconsistencies, not changing the
behavior of how the kernel responds to external inputs.

I don't have any problem with warnings for dodgy external input being
generally enabled, or having a separate verbose option.   I can't see
any reason not to have them, as it's not like new labels appearing is a
high-rate event that would dos the log.

Attachment: pgpI40F0feW4P.pgp
Description: PGP signature

Reply via email to