summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-08-06 21:08:09 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-08-06 21:08:09 +0000
commit8f4be4c9fc053e06d8170659c9bde356ada1a655 (patch)
treed116498a9604b21bf16d82850fcf1726939a4f6a /sys/compat
parent9293e104f0b834487ffef8344f12e9dc93c0abd0 (diff)
Remove some double semicolons (hmm, do two semis equal a maxi?).
I've skipped the GNU stuff for now. From Patrick Latifi.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/common/compat_vm.c6
-rw-r--r--sys/compat/ultrix/ultrix_ioctl.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/compat/common/compat_vm.c b/sys/compat/common/compat_vm.c
index 33debd070f1..44d4cc96f5e 100644
--- a/sys/compat/common/compat_vm.c
+++ b/sys/compat/common/compat_vm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat_vm.c,v 1.3 2003/05/10 17:53:56 miod Exp $ */
+/* $OpenBSD: compat_vm.c,v 1.4 2003/08/06 21:08:06 millert Exp $ */
/* $NetBSD: vm_12.c,v 1.8 1997/10/20 22:05:22 thorpej Exp $ */
/*
@@ -66,8 +66,8 @@ compat_25_sys_omsync(p, v, retval)
syscallarg(size_t) len;
} */ *uap = v;
- SCARG(&ua, addr) = SCARG(uap, addr);;
- SCARG(&ua, len) = SCARG(uap, len);;
+ SCARG(&ua, addr) = SCARG(uap, addr);
+ SCARG(&ua, len) = SCARG(uap, len);
SCARG(&ua, flags) = MS_SYNC | MS_INVALIDATE;
return (sys_msync(p, &ua, retval));
}
diff --git a/sys/compat/ultrix/ultrix_ioctl.c b/sys/compat/ultrix/ultrix_ioctl.c
index 71bf9544e8c..9f96b4b5a28 100644
--- a/sys/compat/ultrix/ultrix_ioctl.c
+++ b/sys/compat/ultrix/ultrix_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ultrix_ioctl.c,v 1.9 2002/02/14 22:57:18 pvalchev Exp $ */
+/* $OpenBSD: ultrix_ioctl.c,v 1.10 2003/08/06 21:08:06 millert Exp $ */
/* $NetBSD: ultrix_ioctl.c,v 1.3.4.1 1996/06/13 18:22:37 jonathan Exp $ */
/* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */
@@ -675,7 +675,7 @@ ultrix_sys_ioctl(p, v, retval)
#define IFREQ_INOUT(a) { \
struct ifreq ifreq; \
if ((error = copyin (SCARG(uap, data), (caddr_t)&ifreq, sizeof (ifreq))) != 0) \
- goto out;; \
+ goto out; \
if ((error = (*ctl)(fp, a, (caddr_t)&ifreq, p)) != 0) \
goto out; \
error = copyout ((caddr_t)&ifreq, SCARG(uap, data), sizeof (ifreq)); \