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

(cherry picked from commit 1d2d1418b492359921716aaa41e93750969b6e1f)

Details

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