HomeFreeBSD

truss: minor cleanup and pedantic warning fixes

Description

truss: minor cleanup and pedantic warning fixes

Noticed while porting the recent truss compat32 changes to CheriBSD.
This also fixes i386 tracing by zero-extending user addresses instead
of sign-extending them.

Reviewed By: jhb
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D30211

Details

Provenance
arichardsonAuthored on Jun 16 2021, 3:35 PM
Reviewer
jhb
Differential Revision
D30211: truss: minor cleanup and pedantic warning fixes
Parents
rG8ba2e89e987c: truss: fix handling of 64-bit arguments/return values for compat32
Branches
Unknown
Tags
Unknown