[log.c]
     casts to silence enum type warnings for bugzilla bug 37; ok markus@
This commit is contained in:
Damien Miller 2002-01-22 23:32:57 +11:00
parent c497e38ce6
commit 5488b7ec4e
2 changed files with 7 additions and 4 deletions

View File

@ -198,6 +198,9 @@
- stevesk@cvs.openbsd.org 2002/01/16 17:55:33
[ssh_config]
correct some commented defaults. add Ciphers default. ok markus@
- stevesk@cvs.openbsd.org 2002/01/17 04:27:37
[log.c]
casts to silence enum type warnings for bugzilla bug 37; ok markus@
20020121
- (djm) Rework ssh-rand-helper:
@ -7345,4 +7348,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1778 2002/01/22 12:32:39 djm Exp $
$Id: ChangeLog,v 1.1779 2002/01/22 12:32:57 djm Exp $

6
log.c
View File

@ -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);