Don't ignore return value from gethostname(3). It probably
cannot happen, but it silences down Coverity.
Details
Details
- Reviewers
mav - Commits
- rS366337: Don't ignore the return value from gethostname(3). It probably
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I have feeling it is too aggressive to exit with error here, but since it should not really happen -- OK, will count it as an assertion. May be just assert then?
Comment Actions
Not sure how Coverity deals with asserts. Besides, I kind of like the current version.