HomeFreeBSD

etdump: Fix the file name included in the could not open error message

Description

etdump: Fix the file name included in the could not open error message

If only one file is passed, this reads the terminating NULL and so
prints (null). If multiple files are passed then this always prints the
second file, which may or may not exist (and will be particularly
confusing if it does exist since the output will include the dump of the
second file).

MFC after: 1 week

Details

Provenance
jrtc27Authored on Jan 16 2022, 6:55 AM
Parents
rG90c5fd4875df: stress2: Added a regression test
Branches
Unknown
Tags
Unknown