K 10 svn:author V 5 eugen K 8 svn:date V 27 2022-08-18T15:22:11.228508Z K 7 svn:log V 485 syslog(3): Send proper NILVALUE if gethostname(3) fails. RFC5424 defines NILVALUE as '-'. Replace its usage with a macro and separate out the fields to be more clear. fputs(3) is used in some places to avoid hiding possible format string problems in a macro. Reviewed by: cem, vangyzen (earlier version) Sponsored by: Dell EMC (cherry picked from commit 2933cd31845432dbaac67917e6babc516d2a57d1) Git Hash: 4f8b31efcf95b43ed64bf6f9c895a27e8dffe158 Git Author: bdrewery@FreeBSD.org END