From f7e0dcf82c13a46c36c9b7404363746883909187 Mon Sep 17 00:00:00 2001 From: Jean-Francois Brousseau Date: Wed, 16 Feb 2005 15:33:38 +0000 Subject: properly initialize the syslog_data structure --- usr.bin/cvs/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs/log.c') diff --git a/usr.bin/cvs/log.c b/usr.bin/cvs/log.c index da0da1cc1d1..5164dd2cabb 100644 --- a/usr.bin/cvs/log.c +++ b/usr.bin/cvs/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.9 2005/02/15 15:29:35 jfb Exp $ */ +/* $OpenBSD: log.c,v 1.10 2005/02/16 15:33:37 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -67,7 +67,7 @@ static int cvs_slpriomap[] = { static u_int cvs_log_dest = LD_STD; static u_int cvs_log_flags = 0; -static struct syslog_data cvs_sl; +static struct syslog_data cvs_sl = SYSLOG_DATA_INIT; /* filter manipulation macros */ #define CVS_LOG_FLTRRST() (cvs_log_filters = 0) -- cgit v1.2.3