summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-22 03:00:37 +0000
committereadler <eadler@FreeBSD.org>2012-10-22 03:00:37 +0000
commit3f7a414911a892c8c84206394eb643cbde706d20 (patch)
treec45117cffaa16d0c405fe18e0a22e5a403277232 /tools
parent4acd2b3e06da83dd8af23c49beb06a38077f7c4f (diff)
downloadFreeBSD-src-3f7a414911a892c8c84206394eb643cbde706d20.zip
FreeBSD-src-3f7a414911a892c8c84206394eb643cbde706d20.tar.gz
remove duplicate semicolons where possible.
Approved by: cperciva MFC after: 1 week
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/lib/libc/nss/test-gethostby.c2
-rw-r--r--tools/regression/sockets/unix_cmsg/unix_cmsg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/lib/libc/nss/test-gethostby.c b/tools/regression/lib/libc/nss/test-gethostby.c
index 61e4ca2..5a0c925 100644
--- a/tools/regression/lib/libc/nss/test-gethostby.c
+++ b/tools/regression/lib/libc/nss/test-gethostby.c
@@ -565,7 +565,7 @@ hostent_read_snapshot_addr(char *addr, unsigned char *result, size_t len)
static int
hostent_read_snapshot_func(struct hostent *ht, char *line)
{
- StringList *sl1, *sl2;;
+ StringList *sl1, *sl2;
char *s, *ps, *ts;
int i, rv;
diff --git a/tools/regression/sockets/unix_cmsg/unix_cmsg.c b/tools/regression/sockets/unix_cmsg/unix_cmsg.c
index 6a39ac3..c16b468 100644
--- a/tools/regression/sockets/unix_cmsg/unix_cmsg.c
+++ b/tools/regression/sockets/unix_cmsg/unix_cmsg.c
@@ -1513,7 +1513,7 @@ t_timestamp_server(int fd1)
msg.msg_iov = iov;
msg.msg_iovlen = 1;
msg.msg_control = control_un.control;
- msg.msg_controllen = sizeof control_un.control;;
+ msg.msg_controllen = sizeof control_un.control;
msg.msg_flags = 0;
if (recvmsg_timeout(fd2, &msg, sizeof buf) < 0)
OpenPOWER on IntegriCloud