From: jsg Date: Tue, 11 Jan 2022 03:13:58 +0000 (+0000) Subject: spelling X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0d297f47564f5557a3fdcfd88ebb29bb4878476d;p=openbsd spelling ok jmc@ --- diff --git a/sys/isofs/cd9660/cd9660_lookup.c b/sys/isofs/cd9660/cd9660_lookup.c index 3b56a930349..b64a0f84a1d 100644 --- a/sys/isofs/cd9660/cd9660_lookup.c +++ b/sys/isofs/cd9660/cd9660_lookup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_lookup.c,v 1.29 2021/03/05 07:10:06 jsg Exp $ */ +/* $OpenBSD: cd9660_lookup.c,v 1.30 2022/01/11 03:13:58 jsg Exp $ */ /* $NetBSD: cd9660_lookup.c,v 1.18 1997/05/08 16:19:59 mycroft Exp $ */ /*- @@ -133,7 +133,7 @@ cd9660_lookup(void *v) lockparent = flags & LOCKPARENT; /* - * Check accessiblity of directory. + * Check accessibility of directory. */ if ((error = VOP_ACCESS(vdp, VEXEC, cred, cnp->cn_proc)) != 0) return (error); diff --git a/sys/isofs/udf/ecma167-udf.h b/sys/isofs/udf/ecma167-udf.h index 4210d49dfa3..85980de1eaf 100644 --- a/sys/isofs/udf/ecma167-udf.h +++ b/sys/isofs/udf/ecma167-udf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ecma167-udf.h,v 1.9 2011/07/07 14:25:15 sobrado Exp $ */ +/* $OpenBSD: ecma167-udf.h,v 1.10 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: ecma167-udf.h,v 1.10 2008/06/24 15:30:33 reinoud Exp $ */ /*- @@ -89,7 +89,7 @@ enum { TAGID_EXTATTR_HDR = 262, TAGID_UNALL_SP_ENTRY = 263, TAGID_SPACE_BITMAP = 264, - TAGID_PART_INTEGRETY = 265, + TAGID_PART_INTEGRITY = 265, TAGID_EXTFENTRY = 266, TAGID_MAX = 266 }; @@ -106,7 +106,7 @@ enum { UDF_ACCESSTYPE_PSEUDO_OVERWITE = 0, /* pseudo overwritable, e.g. BD-R's LOW */ UDF_ACCESSTYPE_READ_ONLY = 1, /* really only readable */ UDF_ACCESSTYPE_WRITE_ONCE = 2, /* write once and you're done */ - UDF_ACCESSTYPE_REWRITEABLE = 3, /* may need extra work to rewrite */ + UDF_ACCESSTYPE_REWRITABLE = 3, /* may need extra work to rewrite */ UDF_ACCESSTYPE_OVERWRITABLE = 4 /* no limits on rewriting; e.g. harddisc*/ }; @@ -260,7 +260,7 @@ struct icb_tag { #define UDF_ICB_TAG_FLAGS_DIRORDERED (1<< 3) #define UDF_ICB_TAG_FLAGS_NONRELOC (1<< 4) -#define UDF_ICB_TAG_FLAGS_CONTIGUES (1<< 9) +#define UDF_ICB_TAG_FLAGS_CONTIGUOUS (1<< 9) #define UDF_ICB_TAG_FLAGS_MULTIPLEVERS (1<<12) #define UDF_ICB_TAG_FLAGS_SETUID (1<< 6) @@ -525,7 +525,7 @@ struct space_entry_desc { struct part_hdr_desc { struct short_ad unalloc_space_table; struct short_ad unalloc_space_bitmap; - struct short_ad part_integrety_table; /* has to be ZERO for UDF */ + struct short_ad part_integrity_table; /* has to be ZERO for UDF */ struct short_ad freed_space_table; struct short_ad freed_space_bitmap; uint8_t reserved[88]; diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c index 2ba23e9686e..01ac5ca2fbb 100644 --- a/sys/isofs/udf/udf_vfsops.c +++ b/sys/isofs/udf/udf_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vfsops.c,v 1.69 2020/06/23 16:31:06 krw Exp $ */ +/* $OpenBSD: udf_vfsops.c,v 1.70 2022/01/11 03:13:59 jsg Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long @@ -35,7 +35,7 @@ /* * Ok, here's how it goes. The UDF specs are pretty clear on how each data * structure is made up, but not very clear on how they relate to each other. - * Here is the skinny... This demostrates a filesystem with one file in the + * Here is the skinny... This demonstrates a filesystem with one file in the * root directory. Subdirectories are treated just as normal files, but they * have File Id Descriptors of their children as their file data. As for the * Anchor Volume Descriptor Pointer, it can exist in two of the following three diff --git a/sys/msdosfs/msdosfs_lookup.c b/sys/msdosfs/msdosfs_lookup.c index 73c9d41989f..545301336b4 100644 --- a/sys/msdosfs/msdosfs_lookup.c +++ b/sys/msdosfs/msdosfs_lookup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_lookup.c,v 1.32 2018/05/02 02:24:56 visa Exp $ */ +/* $OpenBSD: msdosfs_lookup.c,v 1.33 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: msdosfs_lookup.c,v 1.34 1997/10/18 22:12:27 ws Exp $ */ /*- @@ -130,7 +130,7 @@ msdosfs_lookup(void *v) #endif /* - * Check accessiblity of directory. + * Check accessibility of directory. */ if ((dp->de_Attributes & ATTR_DIRECTORY) == 0) return (ENOTDIR); diff --git a/sys/nfs/nfs_aiod.c b/sys/nfs/nfs_aiod.c index 98c4335f7f6..d40ee305a90 100644 --- a/sys/nfs/nfs_aiod.c +++ b/sys/nfs/nfs_aiod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_aiod.c,v 1.8 2019/12/05 10:41:57 mpi Exp $ */ +/* $OpenBSD: nfs_aiod.c,v 1.9 2022/01/11 03:13:59 jsg Exp $ */ /* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -150,7 +150,7 @@ out1: free(aiod, M_TEMP, sizeof(*aiod)); nfs_numaiods--; KASSERT(nfs_numaiods >= 0); - /* Rejust the limit of bufs to queue. See comment above. */ + /* Readjust the limit of bufs to queue. See comment above. */ if (nfs_numaiods > 0) nfs_aiodbufqmax = max((bcstats.numbufs / 4) / nfs_numaiods, 64); else diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c index 38e0ee99d66..864c56e998f 100644 --- a/sys/nfs/nfs_socket.c +++ b/sys/nfs/nfs_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_socket.c,v 1.137 2021/01/02 02:41:42 cheloha Exp $ */ +/* $OpenBSD: nfs_socket.c,v 1.138 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: nfs_socket.c,v 1.27 1996/04/15 20:20:00 thorpej Exp $ */ /* @@ -1114,7 +1114,7 @@ nfs_rephead(int siz, struct nfsrv_descript *nd, struct nfssvc_sock *slp, /* * nfs timer routine - * Scan the nfsreq list and retranmit any requests that have timed out. + * Scan the nfsreq list and retransmit any requests that have timed out. */ void nfs_timer(void *arg) diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index 2c6a0cc1c3f..6761779f011 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_subs.c,v 1.144 2020/06/24 22:03:44 cheloha Exp $ */ +/* $OpenBSD: nfs_subs.c,v 1.145 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */ /* @@ -559,7 +559,7 @@ nfsm_rpchead(struct nfsreq *req, struct ucred *cr, int auth_type) /* * RPCAUTH_UNIX fits in an hdr mbuf, in the future other * authorization methods need to figure out their own sizes - * and allocate and chain mbuf's accorindgly. + * and allocate and chain mbufs accordingly. */ mb = req->r_mreq; diff --git a/sys/ntfs/ntfs.h b/sys/ntfs/ntfs.h index fff94a32a71..1bba2d94e11 100644 --- a/sys/ntfs/ntfs.h +++ b/sys/ntfs/ntfs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs.h,v 1.18 2020/01/20 23:21:56 claudio Exp $ */ +/* $OpenBSD: ntfs.h,v 1.19 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: ntfs.h,v 1.5 2003/04/24 07:50:19 christos Exp $ */ /*- @@ -237,7 +237,7 @@ struct bootfile { cn_t bf_mftcn; /* $MFT cluster number */ cn_t bf_mftmirrcn; /* $MFTMirr cn */ u_int8_t bf_mftrecsz; /* MFT record size (clust) */ - /* 0xF6 inducates 1/4 */ + /* 0xF6 indicates 1/4 */ u_int32_t bf_ibsz; /* index buffer size */ u_int32_t bf_volsn; /* volume ser. num. */ } __packed; diff --git a/sys/ntfs/ntfs_subr.c b/sys/ntfs/ntfs_subr.c index ad8f2af824f..705e1c0cc45 100644 --- a/sys/ntfs/ntfs_subr.c +++ b/sys/ntfs/ntfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_subr.c,v 1.51 2020/02/27 09:10:31 mpi Exp $ */ +/* $OpenBSD: ntfs_subr.c,v 1.52 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: ntfs_subr.c,v 1.4 2003/04/10 21:37:32 jdolecek Exp $ */ /*- @@ -1290,7 +1290,7 @@ ntfs_nttimetounix(u_int64_t nt) { struct timespec t; - /* WindowNT times are in 100 ns and from 1601 Jan 1 */ + /* Windows NT times are in 100 ns and from 1601 Jan 1 */ t.tv_nsec = (nt % (1000 * 1000 * 10)) * 100; t.tv_sec = nt / (1000 * 1000 * 10) - 369LL * 365LL * 24LL * 60LL * 60LL - diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c index efec7c0c741..d665f5db8df 100644 --- a/sys/ntfs/ntfs_vfsops.c +++ b/sys/ntfs/ntfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_vfsops.c,v 1.64 2020/02/27 09:10:31 mpi Exp $ */ +/* $OpenBSD: ntfs_vfsops.c,v 1.65 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */ /*- @@ -496,7 +496,7 @@ ntfs_unmount(struct mount *mp, int mntflags, struct proc *p) /* Check if the type of device node isn't VBAD before * touching v_specinfo. If the device vnode is revoked, the - * field is NULL and touching it causes null pointer derefercence. + * field is NULL and touching it causes null pointer dereference. */ if (ntmp->ntm_devvp->v_type != VBAD) ntmp->ntm_devvp->v_specmountpoint = NULL; diff --git a/sys/ufs/ext2fs/ext2fs_lookup.c b/sys/ufs/ext2fs/ext2fs_lookup.c index d77f4a3f298..36e182465c5 100644 --- a/sys/ufs/ext2fs/ext2fs_lookup.c +++ b/sys/ufs/ext2fs/ext2fs_lookup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_lookup.c,v 1.45 2021/03/11 13:31:35 jsg Exp $ */ +/* $OpenBSD: ext2fs_lookup.c,v 1.46 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: ext2fs_lookup.c,v 1.16 2000/08/03 20:29:26 thorpej Exp $ */ /* @@ -264,7 +264,7 @@ ext2fs_lookup(void *v) wantparent = flags & (LOCKPARENT|WANTPARENT); /* - * Check accessiblity of directory. + * Check accessibility of directory. */ if ((error = VOP_ACCESS(vdp, VEXEC, cred, cnp->cn_proc)) != 0) return (error); diff --git a/sys/ufs/ffs/fs.h b/sys/ufs/ffs/fs.h index 059450ed95e..10e89cfd913 100644 --- a/sys/ufs/ffs/fs.h +++ b/sys/ufs/ffs/fs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fs.h,v 1.43 2020/06/20 07:49:04 otto Exp $ */ +/* $OpenBSD: fs.h,v 1.44 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: fs.h,v 1.6 1995/04/12 21:21:02 mycroft Exp $ */ /* @@ -73,7 +73,7 @@ * Addresses stored in inodes are capable of addressing fragments * of `blocks'. File system blocks of at most size MAXBSIZE can * be optionally broken into 2, 4, or 8 pieces, each of which is - * addressible; these pieces may be DEV_BSIZE, or some multiple of + * addressable; these pieces may be DEV_BSIZE, or some multiple of * a DEV_BSIZE unit. * * Large files consist of exclusively large data blocks. To avoid diff --git a/sys/ufs/ufs/dirhash.h b/sys/ufs/ufs/dirhash.h index 63960b69b4d..1bb235894da 100644 --- a/sys/ufs/ufs/dirhash.h +++ b/sys/ufs/ufs/dirhash.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dirhash.h,v 1.7 2021/03/11 13:31:36 jsg Exp $ */ +/* $OpenBSD: dirhash.h,v 1.8 2022/01/11 03:13:59 jsg Exp $ */ /* * Copyright (c) 2001 Ian Dowse. All rights reserved. * @@ -64,7 +64,7 @@ * placed at the most-recently-used end of the list. This helps a lot * in the worst-case case scenario where every directory access is * to a directory that is not hashed (i.e. the working set of hash - * candidates is much larger than the configured memry limit). In this + * candidates is much larger than the configured memory limit). In this * case it limits the number of hash builds to 1/DH_SCOREINIT of the * number of accesses. */ diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c index 6f0d6dcaed9..3cf88f30152 100644 --- a/sys/ufs/ufs/ufs_lookup.c +++ b/sys/ufs/ufs/ufs_lookup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_lookup.c,v 1.58 2020/10/09 08:20:46 mpi Exp $ */ +/* $OpenBSD: ufs_lookup.c,v 1.59 2022/01/11 03:13:59 jsg Exp $ */ /* $NetBSD: ufs_lookup.c,v 1.7 1996/02/09 22:36:06 christos Exp $ */ /* @@ -141,7 +141,7 @@ ufs_lookup(void *v) wantparent = flags & (LOCKPARENT|WANTPARENT); /* - * Check accessiblity of directory. + * Check accessibility of directory. */ if ((DIP(dp, mode) & IFMT) != IFDIR) return (ENOTDIR);