summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-11-15 07:02:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-11-15 07:02:38 +0000
commitcc00adccbb9237c547078c7edd38c29bf7cd8d1e (patch)
treefe0e8fbcaae2ad2799c932a8d52b4c0c5c80987a
parent6fce3b37edc744b1f3a2d2bd374c7f4d91075bb1 (diff)
More typos (especially indicies -> indices), checked with jmc@
-rw-r--r--bin/ksh/BUG-REPORTS4
-rw-r--r--games/trek/trek.h4
-rw-r--r--sbin/restore/symtab.c6
-rw-r--r--sys/arch/hp300/dev/hd.c10
-rw-r--r--sys/arch/hp300/dev/hdreg.h4
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c4
-rw-r--r--sys/arch/mvme88k/mvme88k/m88110.c4
-rw-r--r--sys/arch/solbourne/solbourne/locore.s4
-rw-r--r--sys/arch/sparc/sparc/locore.s4
-rw-r--r--sys/arch/vax/mscp/mscp_subr.c4
-rw-r--r--sys/dev/usb/ehci.c4
-rw-r--r--sys/dev/usb/ohci.c4
-rw-r--r--sys/dev/usb/uhci.c4
-rw-r--r--sys/sys/malloc.h4
-rw-r--r--usr.sbin/cron/cron.c6
15 files changed, 35 insertions, 35 deletions
diff --git a/bin/ksh/BUG-REPORTS b/bin/ksh/BUG-REPORTS
index 3e27730c642..787ee458435 100644
--- a/bin/ksh/BUG-REPORTS
+++ b/bin/ksh/BUG-REPORTS
@@ -1,4 +1,4 @@
-$OpenBSD: BUG-REPORTS,v 1.15 2003/10/22 07:40:38 jmc Exp $
+$OpenBSD: BUG-REPORTS,v 1.16 2005/11/15 07:02:33 miod Exp $
List of reported problems (problems reported and fixed before 5.0.4 not
included). Unresolved problems (may or may not still exist) marked by *,
@@ -1370,7 +1370,7 @@ x pdksh 5.2.13: vi: failed redo (.) commands caused line to be returned to the
x pdksh 5.2.13, (reported by Arthor Pool): man page: (a) the time reserved
word is not described; (b) description of command line wrapping is in vi
- section only (not in emacs); (c) limit on array indicies not mentioned;
+ section only (not in emacs); (c) limit on array indices not mentioned;
(d) ignoreeof ignored if eof read 13 times.
[fixed in 5.2.14: man page updated]
diff --git a/games/trek/trek.h b/games/trek/trek.h
index 0581d39590e..6014814f5db 100644
--- a/games/trek/trek.h
+++ b/games/trek/trek.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: trek.h,v 1.8 2004/05/23 01:33:34 deraadt Exp $ */
+/* $OpenBSD: trek.h,v 1.9 2005/11/15 07:02:35 miod Exp $ */
/* $NetBSD: trek.h,v 1.3 1995/04/22 10:59:36 cgd Exp $ */
/*
@@ -343,7 +343,7 @@ struct
* scheduled event of each type. Zero if no such event scheduled.
*/
-/* Klingon move indicies */
+/* Klingon move indices */
#define KM_OB 0 /* Old quadrant, Before attack */
#define KM_OA 1 /* Old quadrant, After attack */
#define KM_EB 2 /* Enter quadrant, Before attack */
diff --git a/sbin/restore/symtab.c b/sbin/restore/symtab.c
index 80d5459ee62..6369763df66 100644
--- a/sbin/restore/symtab.c
+++ b/sbin/restore/symtab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: symtab.c,v 1.15 2005/06/14 19:46:05 millert Exp $ */
+/* $OpenBSD: symtab.c,v 1.16 2005/11/15 07:02:35 miod Exp $ */
/* $NetBSD: symtab.c,v 1.10 1997/03/19 08:42:54 lukem Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)symtab.c 8.2 (Berkeley) 9/13/94";
#else
-static const char rcsid[] = "$OpenBSD: symtab.c,v 1.15 2005/06/14 19:46:05 millert Exp $";
+static const char rcsid[] = "$OpenBSD: symtab.c,v 1.16 2005/11/15 07:02:35 miod Exp $";
#endif
#endif /* not lint */
@@ -455,7 +455,7 @@ dumpsymtable(char *filename, long checkpt)
}
clearerr(fd);
/*
- * Assign indicies to each entry
+ * Assign indices to each entry
* Write out the string entries
*/
for (i = ROOTINO; i <= maxino; i++) {
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c
index 0b6415cdfa9..d1da7ee591e 100644
--- a/sys/arch/hp300/dev/hd.c
+++ b/sys/arch/hp300/dev/hd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd.c,v 1.32 2005/11/14 20:20:30 miod Exp $ */
+/* $OpenBSD: hd.c,v 1.33 2005/11/15 07:02:36 miod Exp $ */
/* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */
/*
@@ -1018,8 +1018,8 @@ hderror(unit)
}
/*
* Unit requests release for internal maintenance.
- * We just delay awhile and try again later. Use expontially
- * increasing backoff ala ethernet drivers since we don't really
+ * We just delay a while and try again later. Use exponentially
+ * increasing backoff a la ethernet drivers since we don't really
* know how long the maintenance will take. With HDWAITC and
* HDRETRY as defined, the range is 1 to 32 seconds.
*/
@@ -1061,13 +1061,13 @@ hderror(unit)
* Now output a generic message suitable for badsect.
* Note that we don't use harderr because it just prints
* out b_blkno which is just the beginning block number
- * of the transfer, not necessary where the error occurred.
+ * of the transfer, not necessarily where the error occurred.
*/
printf("%s%c: hard error sn%d\n", rs->sc_dev.dv_xname,
'a' + HDPART(bp->b_dev), pbn);
/*
* Now report the status as returned by the hardware with
- * attempt at interpretation (unless debugging).
+ * no attempt at interpretation (unless debugging).
*/
printf("%s: %s error:", rs->sc_dev.dv_xname,
(bp->b_flags & B_READ) ? "read" : "write");
diff --git a/sys/arch/hp300/dev/hdreg.h b/sys/arch/hp300/dev/hdreg.h
index bef7b7509ae..bb86d423d2f 100644
--- a/sys/arch/hp300/dev/hdreg.h
+++ b/sys/arch/hp300/dev/hdreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hdreg.h,v 1.3 2004/04/12 22:12:32 jmc Exp $ */
+/* $OpenBSD: hdreg.h,v 1.4 2005/11/15 07:02:36 miod Exp $ */
/* $NetBSD: rdreg.h,v 1.7 1996/02/09 18:00:37 scottr Exp $ */
/*
@@ -146,7 +146,7 @@ struct hd_describe {
#define HD2200AID 0x22F
#define HD2203AID 0x230 /* yet another guess */
-/* SW ids -- indicies into hdidentinfo, order is arbitrary */
+/* SW ids -- indices into hdidentinfo, order is arbitrary */
#define HD7945A 0
#define HD9134D 1
#define HD9122S 2
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index 88bf5555dc0..bd7c519a51f 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.120 2005/11/06 17:59:57 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.121 2005/11/15 07:02:36 miod Exp $ */
/* $NetBSD: machdep.c,v 1.207 1998/07/08 04:39:34 thorpej Exp $ */
/*
@@ -355,7 +355,7 @@ cpu_startup(void)
vers = mac68k_machine.booter_version;
if (vers < CURRENTBOOTERVER) {
- /* fix older booters with indicies, not versions */
+ /* fix older booters with indices, not versions */
if (vers < 100)
vers += 99;
diff --git a/sys/arch/mvme88k/mvme88k/m88110.c b/sys/arch/mvme88k/mvme88k/m88110.c
index 63abdda01c7..1a23337c17f 100644
--- a/sys/arch/mvme88k/mvme88k/m88110.c
+++ b/sys/arch/mvme88k/mvme88k/m88110.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m88110.c,v 1.25 2005/10/13 19:48:36 miod Exp $ */
+/* $OpenBSD: m88110.c,v 1.26 2005/11/15 07:02:36 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* All rights reserved.
@@ -563,7 +563,7 @@ m88110_cmmu_show_translation(unsigned address,
{
/*
* A virtual address is split into three fields. Two are used as
- * indicies into tables (segment and page), and one is an offset into
+ * indices into tables (segment and page), and one is an offset into
* a page of memory.
*/
union {
diff --git a/sys/arch/solbourne/solbourne/locore.s b/sys/arch/solbourne/solbourne/locore.s
index 9996e7997dc..c9cce60f6e6 100644
--- a/sys/arch/solbourne/solbourne/locore.s
+++ b/sys/arch/solbourne/solbourne/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.2 2005/07/02 09:15:41 miod Exp $ */
+/* $OpenBSD: locore.s,v 1.3 2005/11/15 07:02:36 miod Exp $ */
/* OpenBSD: locore.s,v 1.64 2005/04/17 18:47:50 miod Exp */
/*
@@ -771,7 +771,7 @@ Lpanic_red:
* wmask[CWP] tells whether a `rett' would return into the invalid window.
*/
.data
- .skip 32 ! alignment byte & negative indicies
+ .skip 32 ! alignment byte & negative indices
uwtab: .skip 32 ! u_char uwtab[-31..31];
wmask: .skip 32 ! u_char wmask[0..31];
diff --git a/sys/arch/sparc/sparc/locore.s b/sys/arch/sparc/sparc/locore.s
index fdc2f559511..7cf67858b55 100644
--- a/sys/arch/sparc/sparc/locore.s
+++ b/sys/arch/sparc/sparc/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.65 2005/08/18 18:40:51 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.66 2005/11/15 07:02:36 miod Exp $ */
/* $NetBSD: locore.s,v 1.73 1997/09/13 20:36:48 pk Exp $ */
/*
@@ -1383,7 +1383,7 @@ label: b,a 1f; \
* wmask[CWP] tells whether a `rett' would return into the invalid window.
*/
.data
- .skip 32 ! alignment byte & negative indicies
+ .skip 32 ! alignment byte & negative indices
uwtab: .skip 32 ! u_char uwtab[-31..31];
wmask: .skip 32 ! u_char wmask[0..31];
diff --git a/sys/arch/vax/mscp/mscp_subr.c b/sys/arch/vax/mscp/mscp_subr.c
index 59ef5eb47ed..aea69759d36 100644
--- a/sys/arch/vax/mscp/mscp_subr.c
+++ b/sys/arch/vax/mscp/mscp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mscp_subr.c,v 1.7 2003/06/02 23:27:57 millert Exp $ */
+/* $OpenBSD: mscp_subr.c,v 1.8 2005/11/15 07:02:37 miod Exp $ */
/* $NetBSD: mscp_subr.c,v 1.18 2001/11/13 07:38:28 lukem Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -306,7 +306,7 @@ mscp_init(mi)
/*
* While we are thinking about it, reset the next command
- * and response indicies.
+ * and response indices.
*/
mi->mi_cmd.mri_next = 0;
mi->mi_rsp.mri_next = 0;
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 3bed1926127..013c47a9f53 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.50 2005/10/04 22:55:30 brad Exp $ */
+/* $OpenBSD: ehci.c,v 1.51 2005/11/15 07:02:37 miod Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -1562,7 +1562,7 @@ Static usb_device_descriptor_t ehci_devd = {
UDPROTO_HSHUBSTT, /* protocol */
64, /* max packet */
{0},{0},{0x00,0x01}, /* device id */
- 1,2,0, /* string indicies */
+ 1,2,0, /* string indices */
1 /* # of configurations */
};
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index b4b3c9dc87f..136070e9045 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohci.c,v 1.62 2005/10/04 22:55:30 brad Exp $ */
+/* $OpenBSD: ohci.c,v 1.63 2005/11/15 07:02:37 miod Exp $ */
/* $NetBSD: ohci.c,v 1.139 2003/02/22 05:24:16 tsutsui Exp $ */
/* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */
@@ -2309,7 +2309,7 @@ Static usb_device_descriptor_t ohci_devd = {
UDPROTO_FSHUB,
64, /* max packet */
{0},{0},{0x00,0x01}, /* device id */
- 1,2,0, /* string indicies */
+ 1,2,0, /* string indices */
1 /* # of configurations */
};
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index bad1eec9e77..caafb124f0d 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhci.c,v 1.39 2005/10/04 22:55:30 brad Exp $ */
+/* $OpenBSD: uhci.c,v 1.40 2005/11/15 07:02:37 miod Exp $ */
/* $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
@@ -2921,7 +2921,7 @@ usb_device_descriptor_t uhci_devd = {
UDPROTO_FSHUB, /* protocol */
64, /* max packet */
{0},{0},{0x00,0x01}, /* device id */
- 1,2,0, /* string indicies */
+ 1,2,0, /* string indices */
1 /* # of configurations */
};
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h
index b65db153911..31f9c8dfae9 100644
--- a/sys/sys/malloc.h
+++ b/sys/sys/malloc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc.h,v 1.80 2005/10/15 00:08:51 deraadt Exp $ */
+/* $OpenBSD: malloc.h,v 1.81 2005/11/15 07:02:37 miod Exp $ */
/* $NetBSD: malloc.h,v 1.39 1998/07/12 19:52:01 augustss Exp $ */
/*
@@ -391,7 +391,7 @@ struct kmembuckets {
: (MINBUCKET + 15))
/*
- * Turn virtual addresses into kmem map indicies
+ * Turn virtual addresses into kmem map indices
*/
#define kmemxtob(alloc) (kmembase + (alloc) * NBPG)
#define btokmemx(addr) (((caddr_t)(addr) - kmembase) / NBPG)
diff --git a/usr.sbin/cron/cron.c b/usr.sbin/cron/cron.c
index cc729efbeef..e7b9082793e 100644
--- a/usr.sbin/cron/cron.c
+++ b/usr.sbin/cron/cron.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cron.c,v 1.37 2005/11/15 03:15:29 millert Exp $ */
+/* $OpenBSD: cron.c,v 1.38 2005/11/15 07:02:37 miod Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
@@ -22,7 +22,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static const char rcsid[] = "$OpenBSD: cron.c,v 1.37 2005/11/15 03:15:29 millert Exp $";
+static const char rcsid[] = "$OpenBSD: cron.c,v 1.38 2005/11/15 07:02:37 miod Exp $";
#endif
#define MAIN_PROGRAM
@@ -310,7 +310,7 @@ find_jobs(int vtime, cron_db *db, int doWild, int doNonWild) {
user *u;
entry *e;
- /* make 0-based values out of these so we can use them as indicies
+ /* make 0-based values out of these so we can use them as indices
*/
minute = tm->tm_min -FIRST_MINUTE;
hour = tm->tm_hour -FIRST_HOUR;