summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2006-02-01 19:07:14 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2006-02-01 19:07:14 +0000
commitdae5a8d2fe650b63b8a5930e44ee701b2c7a1261 (patch)
tree3a77f3980c16877444aa93eae6ba66ea7411aff0 /usr.bin
parentae963187e12199a38186593d19c2029893098a47 (diff)
double semicolon; from Daniel Matic in PR 4929
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rdistd/server.c8
-rw-r--r--usr.bin/systat/pigs.c6
-rw-r--r--usr.bin/telnet/encrypt.c4
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/rdistd/server.c b/usr.bin/rdistd/server.c
index 5ee4666588b..da8d447c986 100644
--- a/usr.bin/rdistd/server.c
+++ b/usr.bin/rdistd/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.16 2003/07/07 14:39:26 mpech Exp $ */
+/* $OpenBSD: server.c,v 1.17 2006/02/01 19:06:24 otto Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -36,7 +36,7 @@ static char RCSid[] __attribute__((__unused__)) =
"$From: server.c,v 1.10 1999/08/04 15:57:33 christos Exp $";
#else
static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: server.c,v 1.16 2003/07/07 14:39:26 mpech Exp $";
+"$OpenBSD: server.c,v 1.17 2006/02/01 19:06:24 otto Exp $";
#endif
static char sccsid[] __attribute__((__unused__)) =
@@ -376,7 +376,7 @@ removefile(struct stat *statb, int silent)
}
ptarget = optarget;
*ptarget++ = '/';
- cp = dp->d_name;;
+ cp = dp->d_name;
while ((*ptarget++ = *cp++) != '\0')
continue;
ptarget--;
@@ -458,7 +458,7 @@ doclean(char *cp)
}
ptarget = optarget;
*ptarget++ = '/';
- cp = dp->d_name;;
+ cp = dp->d_name;
while ((*ptarget++ = *cp++) != '\0')
continue;
ptarget--;
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c
index 6455290a58d..99019630107 100644
--- a/usr.bin/systat/pigs.c
+++ b/usr.bin/systat/pigs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pigs.c,v 1.16 2004/01/08 19:28:56 millert Exp $ */
+/* $OpenBSD: pigs.c,v 1.17 2006/02/01 19:05:25 otto Exp $ */
/* $NetBSD: pigs.c,v 1.3 1995/04/29 05:54:50 cgd Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pigs.c 8.2 (Berkeley) 9/23/93";
#endif
-static char rcsid[] = "$OpenBSD: pigs.c,v 1.16 2004/01/08 19:28:56 millert Exp $";
+static char rcsid[] = "$OpenBSD: pigs.c,v 1.17 2006/02/01 19:05:25 otto Exp $";
#endif /* not lint */
/*
@@ -170,7 +170,7 @@ fetchpigs(void)
double t;
int i;
size_t size;
- float *pctp;;
+ float *pctp;
kpp = kvm_getproc2(kd, KERN_PROC_KTHREAD, 0, sizeof(*kpp), &nproc);
if (kpp == NULL) {
diff --git a/usr.bin/telnet/encrypt.c b/usr.bin/telnet/encrypt.c
index 36b7a90a2c4..2dde9651acc 100644
--- a/usr.bin/telnet/encrypt.c
+++ b/usr.bin/telnet/encrypt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: encrypt.c,v 1.1 2005/05/24 03:43:56 deraadt Exp $ */
+/* $OpenBSD: encrypt.c,v 1.2 2006/02/01 19:04:37 otto Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -977,7 +977,7 @@ void encrypt_gen_printsub(unsigned char *data, int cnt,
data += 2;
buf[buflen-1] = '\0';
buf[buflen-2] = '*';
- buflen -= 2;;
+ buflen -= 2;
for (; cnt > 0; cnt--, data++) {
snprintf(tbuf, sizeof(tbuf), " %d", *data);
for (cp = tbuf; *cp && buflen > 0; --buflen)