Files
mirror_zfs/lib
Rob Norris 6604fe9a06 backtrace: fix off-by-one on string output
sizeof("foo") includes the trailing null byte, so all the output had
nulls through it. Most terminals quietly ignore it, but it makes some
tools misdetect file types and other annoyances.

Easy fix: subtract 1.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16862
2024-12-16 10:26:20 -08:00
..
2024-05-31 15:13:39 -07:00
2024-10-01 17:10:23 -07:00
2024-10-01 17:10:23 -07:00
2024-10-01 17:10:23 -07:00
2024-02-05 10:00:41 -08:00