HomeFreeBSD

syslogd: fix WITHOUT_INET builds

Description

syslogd: fix WITHOUT_INET builds

Since 2d82b47 syslogd can't be built with WITHOUT_INET or
WITHOUT_INET6 build variables set, because iovlist_truncate is not
defined but used.

This change wraps the problematic iovlist_truncate call within ifdef
directive. It's compiled out in this situation...

Pull Request: https://github.com/freebsd/freebsd-src/pull/475
Reviewed by: imp@ (commit message slightly tweaked)

Details

Provenance
akhramov_pm.meAuthored on Jun 12 2021, 5:21 PM
impCommitted on Jun 13 2021, 4:25 AM
Parents
R10:7cf9caf294ce: updating: note recent removals
Branches
Unknown
Tags
Unknown