HomeFreeBSD

hwpmc: don't use deprecated copystr(9)

Description

hwpmc: don't use deprecated copystr(9)

It is just wrapper around strlcpy(), but results in more complicated
code. Clean this up to use strlcpy() or snprintf() as appropriate.

Reviewed by: jkoshy
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39910

Details

Provenance
mhorneAuthored on May 5 2023, 9:59 PM
Reviewer
jkoshy
Differential Revision
D39910: hwpmc: don't use deprecated copystr(9)
Parents
rGaba91805aa92: hwpmc: use kstack_contains()
Branches
Unknown
Tags
Unknown