HomeFreeBSD

kern_sysctl: Fix printing function name in the re-use sysctl leaf warning

Description

kern_sysctl: Fix printing function name in the re-use sysctl leaf warning

The helper function sysctl_warn_reuse() is intended to print the name of
the caller rather than that of itself.

PR: 221853
Fixes: 4ae2ade11426 Enhance debugibility of sysctl leaf re-use warnings
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D48645

Details

Provenance
zleiAuthored on Sat, Jan 25, 5:59 PM
Differential Revision
D48645: kern_sysctl: Fix sysctl leaf re-use warnings
Parents
rG494a2b14722e: dtrace: Remove the noinline qualifier from dtrace_getarg()
Branches
Unknown
Tags
Unknown