summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/libmdoc.h
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-04-28 14:52:13 +0000
committerbluhm <bluhm@openbsd.org>2017-04-28 14:52:13 +0000
commit9244353d92eebc58bb8dcd775b8bff3e20c6cde0 (patch)
tree9089bd452a09827ea462eae6002e9aa5702a7cb4 /usr.bin/mandoc/libmdoc.h
parenterrant space; (diff)
downloadwireguard-openbsd-9244353d92eebc58bb8dcd775b8bff3e20c6cde0.tar.xz
wireguard-openbsd-9244353d92eebc58bb8dcd775b8bff3e20c6cde0.zip
When syslogd(8) failed to open a logfile, the error message could
get lost. Remove log_setdebug() as it adds too much abstraction, use the global variable Started instead. Set the Started value before the init() function. Then errors during config file processing will be logged to the console as Initialize is still 0. This is better than stderr as the latter may be redirected to /dev/null. Print the timestamp and hostname also for direct messages to console, so that they look like all others. bug report jung@; OK benno@
Diffstat (limited to 'usr.bin/mandoc/libmdoc.h')
0 files changed, 0 insertions, 0 deletions