libdtrace: Fix dt_print_sym() not printing symbols in non-oformat mode
dt_print_sym() fills the symbol string via snprintf() in non-oformat
mode but the guarding `dtp->dt_oformat != 0 &&` for the dt_printf()
causes the symbol is computed but never emitted.
Fixes: 93f27766a7e1 ("dtrace: Add the 'oformat' libdtrace option")
Event: Halifax Hackathon 202606
Location: Room 208, Computer Science Building, Dalhousie University
MFC after: 3 days
Sponsored by: The FreeBSD FoundationDetails
Details
- Reviewers
markj domagoj.stolfa_gmail.com gnn - Group Reviewers
DTrace - Commits
- rG8e61d8707f8a: libdtrace: Fix dt_print_sym() not printing symbols in non-oformat mode
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable