summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/log.c
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-02-16 15:33:38 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-02-16 15:33:38 +0000
commitf7e0dcf82c13a46c36c9b7404363746883909187 (patch)
treefc49985c1e50c93904cf194c6edd7076dc32bb03 /usr.bin/cvs/log.c
parentc59e6a5f4857528c6c3710dbdb751887cb292c42 (diff)
properly initialize the syslog_data structure
Diffstat (limited to 'usr.bin/cvs/log.c')
-rw-r--r--usr.bin/cvs/log.c4
1 files changed, 2 insertions, 2 deletions
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 <jfb@openbsd.org>
* 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)