HomeFreeBSD

Don't ignore the return value from gethostname(3). It probably

Description

Don't ignore the return value from gethostname(3). It probably
cannot happen, but it silences Coverity.

Reviewed by: mav
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D26606

Details

Provenance
traszAuthored on
Reviewer
mav
Differential Revision
D26606: Don't ignore return value from gethostname(3)
Parents
rS366336: Only clear TDP_NERRNO when needed, ie when it's previously been set.
Branches
Unknown
Tags
Unknown