HomeFreeBSD

lockstat: Fix construction of comparision predicates

Description

lockstat: Fix construction of comparision predicates

Passing "0x%p" to sprintf results in double "0x" being printed.
This causes a dtrace script compilation failure when "-d" flag
is specified.
Fix that by removing the extraneous "0x".

Reviewed by: markj
Approved by: mw(mentor)
Obtained from: Semihalf
Sponsored by: Alstom
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35690

Details

Provenance
kdAuthored on Jul 4 2022, 6:48 AM
Reviewer
markj
Differential Revision
D35690: lockstat: Fix construction of comparision predicates
Parents
rG1cf8e6339e9a: mountd startup: enable NFSv4 if needed on restart
Branches
Unknown
Tags
Unknown