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

(cherry picked from commit 9dbacce2d48abf04b4d65d2994586e1ff44b08fb)

Details

Provenance
kdAuthored on Jul 4 2022, 6:48 AM
Reviewer
markj
Differential Revision
D35690: lockstat: Fix construction of comparision predicates
Parents
rG0627a69cd8ed: e6000sw: Fix direct register write logic
Branches
Unknown
Tags
Unknown