summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/syslogd.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-22 17:19:43 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-22 17:19:43 +0000
commit157c5acff7ccb39d9da50f9a2a81f263bbecf429 (patch)
treee6503ad8691fde93de572d146025b28321d8a89c /usr.sbin/syslogd/syslogd.c
parent22062c0c34dd2eed6f2769bafbb554edbc227624 (diff)
fix cutnpaste; from hunter@comsys.com.ua
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
-rw-r--r--usr.sbin/syslogd/syslogd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index e67142a657c..9cf8c91c0a5 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.58 2002/11/21 07:46:48 cloder Exp $ */
+/* $OpenBSD: syslogd.c,v 1.59 2002/12/22 17:19:42 mickey Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94";
#else
-static char rcsid[] = "$OpenBSD: syslogd.c,v 1.58 2002/11/21 07:46:48 cloder Exp $";
+static char rcsid[] = "$OpenBSD: syslogd.c,v 1.59 2002/12/22 17:19:42 mickey Exp $";
#endif
#endif /* not lint */
@@ -358,7 +358,7 @@ main(int argc, char *argv[])
if (getsockopt(finet, SOL_SOCKET, SO_RCVBUF, &len,
&slen) == 0) {
len *= 2;
- (void)setsockopt(funix[i], SOL_SOCKET,
+ (void)setsockopt(finet, SOL_SOCKET,
SO_RCVBUF, &len, slen);
}
}