HomeFreeBSD

minidump: Use provided msgbuf pointer

Description

minidump: Use provided msgbuf pointer

Don't assume we are dumping the global message buffer, but use the one
provided by the state argument. While here, drop superfluous
cast to char *.

Reviewed by: markj, jhb
MFC after: 2 weeks
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D31991

Details

Provenance
mhorneAuthored on Nov 17 2021, 3:34 PM
Reviewer
markj
Differential Revision
D31991: minidump: Use provided msgbuf pointer
Parents
rG681bd71047f1: minidump: reduce the amount direct accesses to page tables
Branches
Unknown
Tags
Unknown