diff options
-rw-r--r-- | usr.sbin/syslogc/syslogc.c | 3 |
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) |