HomeFreeBSD

Use NULL instead of `0` in _ht_getnetbyname(..)

Description

Use NULL instead of 0 in _ht_getnetbyname(..)

  • getnetent returns NULL on completion/error.
  • .h_aliases is NULL terminated.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS301706: Also set -fshort-wchar on arm64, this fixes parsing strings from UEFI,
Branches
Unknown
Tags
Unknown