summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogc/syslogc.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2004-01-12 21:18:40 +0000
committerDamien Miller <djm@cvs.openbsd.org>2004-01-12 21:18:40 +0000
commita40c68bbb495a54a10eec47168eeeeb25dadb6fb (patch)
tree7fbf06b66ee4ee93f99c2a57684a130627ca8b35 /usr.sbin/syslogc/syslogc.c
parent9a487d5e7a6054a4994fd84c89423c551177a3cf (diff)
remove redundant string termination; report from nimadeus@pandora.be
Diffstat (limited to 'usr.sbin/syslogc/syslogc.c')
-rw-r--r--usr.sbin/syslogc/syslogc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/syslogc/syslogc.c b/usr.sbin/syslogc/syslogc.c
index e76ae2d6923..21ec9a8fd94 100644
--- a/usr.sbin/syslogc/syslogc.c
+++ b/usr.sbin/syslogc/syslogc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogc.c,v 1.2 2004/01/05 02:21:06 deraadt Exp $ */
+/* $OpenBSD: syslogc.c,v 1.3 2004/01/12 21:18:39 djm Exp $ */
/*
* Copyright (c) 2004 Damien Miller
@@ -102,7 +102,6 @@ main(int argc, char **argv)
}
strlcpy(ctl.sun_path, ctlsock_path, sizeof(ctl.sun_path));
- ctl.sun_path[sizeof(ctl.sun_path) - 1] = '\0';
ctl.sun_family = AF_UNIX;
if ((ctlsock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0)