HomeFreeBSD

MFC r284167:

Description

MFC r284167:

Merge r283870 from amd64:

Remove unneeded NULL checks in trap_fatal().

Since td_name is an array member of struct thread, it can never be NULL,
so the check can be removed. In addition, curproc can never be NULL,
so remove the if statement, and splice the two printfs() together.

While here, remove the u_long cast, and use the correct printf format
specifier for curproc->p_pid.

Requested by: jhb

Details

Provenance
dimAuthored on
Parents
rS284641: Fix REPORT LUNS command output for the case when same LUN mapped to same
Branches
Unknown
Tags
Unknown