Files
freebsd-src/cddl
Li-Wen Hsu ffdac50994 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()
call causes the symbol is computed but never emitted.

This fixes tests:

- common.profile-n.t_dtrace_contrib.tst_sym_ksh
- common.profile-n.t_dtrace_contrib.tst_func_ksh

Reviewed by:	markj
Fixes:		93f27766a7 ("dtrace: Add the 'oformat' libdtrace option")
MFC after:	3 days
Event:		Halifax Hackathon 202606
Location:	Room 208, Computer Science Building, Dalhousie University
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D57895

(cherry picked from commit 8e61d8707f)
2026-08-06 09:40:12 +08:00
..
2026-08-05 14:50:32 -04:00
2023-08-16 11:55:03 -06:00