diff options
author | Damien Miller <djm@mindrot.org> | 2002-01-22 13:32:57 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-01-22 13:32:57 +0100 |
commit | 5488b7ec4edc06e344f899933cab615d7b925b70 (patch) | |
tree | b4ed84a7bf586b1abf13fe6d02be8fa360cd0c48 /log.c | |
parent | - stevesk@cvs.openbsd.org 2002/01/16 17:55:33 (diff) | |
download | openssh-5488b7ec4edc06e344f899933cab615d7b925b70.tar.xz openssh-5488b7ec4edc06e344f899933cab615d7b925b70.zip |
- stevesk@cvs.openbsd.org 2002/01/17 04:27:37
[log.c]
casts to silence enum type warnings for bugzilla bug 37; ok markus@
Diffstat (limited to '')
-rw-r--r-- | log.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -34,7 +34,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: log.c,v 1.19 2001/12/19 07:18:56 deraadt Exp $"); +RCSID("$OpenBSD: log.c,v 1.20 2002/01/17 04:27:37 stevesk Exp $"); #include "log.h" #include "xmalloc.h" @@ -68,7 +68,7 @@ static struct { { "LOCAL5", SYSLOG_FACILITY_LOCAL5 }, { "LOCAL6", SYSLOG_FACILITY_LOCAL6 }, { "LOCAL7", SYSLOG_FACILITY_LOCAL7 }, - { NULL, 0 } + { NULL, (SyslogFacility)0 } }; static struct { @@ -85,7 +85,7 @@ static struct { { "DEBUG1", SYSLOG_LEVEL_DEBUG1 }, { "DEBUG2", SYSLOG_LEVEL_DEBUG2 }, { "DEBUG3", SYSLOG_LEVEL_DEBUG3 }, - { NULL, 0 } + { NULL, (LogLevel)0 } }; static void do_log(LogLevel level, const char *fmt, va_list args); |