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

(cherry picked from commit 31dddc6a19042bad303cb3d3aa8f52a2cb22dd77)

Details

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