summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-06-20 13:25:28 +0000
committerdim <dim@FreeBSD.org>2015-06-20 13:25:28 +0000
commitf96f7b3d8f68b5f257892ac5f18061670af64ed4 (patch)
tree25e2505e05656cffa1adb588a1687478018afcf7 /lib/libfetch/fetch.c
parent094ec02dc8b783e4e68794c847da90049af29806 (diff)
downloadFreeBSD-src-f96f7b3d8f68b5f257892ac5f18061670af64ed4.zip
FreeBSD-src-f96f7b3d8f68b5f257892ac5f18061670af64ed4.tar.gz
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
Diffstat (limited to 'lib/libfetch/fetch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud