move kern_unveil.c to use DPRINTF()
authorsemarie <semarie@openbsd.org>
Tue, 11 Jan 2022 07:31:50 +0000 (07:31 +0000)
committersemarie <semarie@openbsd.org>
Tue, 11 Jan 2022 07:31:50 +0000 (07:31 +0000)
commit62aa2271aaebdfabde456d0ce53332428f7f803d
treecb4dfbdb930abcbc009b30022c8ec286afdf8d63
parentf76f04e29973354ca294034e4ff9f820731b46e5
move kern_unveil.c to use DPRINTF()

Changes the way printf debug is done in kern_unveil.c

Currently, each printf() is enclosed in #ifdef DEBUG_UNVEIL. It moves
to using DPRINTF(), and reduces the number of #ifdef inside the file.

Also changes some strings to use __func__ instead of using the
function name verbatim.

ok visa@
sys/kern/kern_unveil.c