diff options
author | 2016-07-15 05:01:58 +0000 | |
---|---|---|
committer | 2016-07-15 05:01:58 +0000 | |
commit | d51a1029dda4c055e9406c395d53b54074ae40ef (patch) | |
tree | 2a1a487bed5b77c5fcdf552e81acd381255472a0 /usr.bin/ssh/log.h | |
parent | Don't update cells in each block of data read from a pane immediately, (diff) | |
download | wireguard-openbsd-d51a1029dda4c055e9406c395d53b54074ae40ef.tar.xz wireguard-openbsd-d51a1029dda4c055e9406c395d53b54074ae40ef.zip |
Reduce the syslog level of some relatively common protocol events
from LOG_CRIT by replacing fatal() calls with logdie(). Part of
bz#2585, ok djm@
Diffstat (limited to 'usr.bin/ssh/log.h')
-rw-r--r-- | usr.bin/ssh/log.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/log.h b/usr.bin/ssh/log.h index d7ff4033117..fef04d0c3b8 100644 --- a/usr.bin/ssh/log.h +++ b/usr.bin/ssh/log.h @@ -1,4 +1,4 @@ -/* $OpenBSD: log.h,v 1.20 2013/04/07 02:10:33 dtucker Exp $ */ +/* $OpenBSD: log.h,v 1.21 2016/07/15 05:01:58 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -60,6 +60,8 @@ void fatal(const char *, ...) __attribute__((noreturn)) void error(const char *, ...) __attribute__((format(printf, 1, 2))); void sigdie(const char *, ...) __attribute__((noreturn)) __attribute__((format(printf, 1, 2))); +void logdie(const char *, ...) __attribute__((noreturn)) + __attribute__((format(printf, 1, 2))); void logit(const char *, ...) __attribute__((format(printf, 1, 2))); void verbose(const char *, ...) __attribute__((format(printf, 1, 2))); void debug(const char *, ...) __attribute__((format(printf, 1, 2))); |