Date: Wed, 9 Feb 2022 06:28:35 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 2a4a8a1418c9 - stable/12 - makefs(8): Fix a few typos in source code comments Message-ID: <202202090628.2196SZ8e038217@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=2a4a8a1418c91dd4e071306e9481987e0d4af76e commit 2a4a8a1418c91dd4e071306e9481987e0d4af76e Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-02-06 12:46:38 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-02-09 06:26:31 +0000 makefs(8): Fix a few typos in source code comments - s/concearned/concerned/ - s/quadradically/quadratically/ Obtained from: NetBSD (cherry picked from commit 164fa411b9244ce3f4ae0d6f17a7f64f6b9ee941) --- usr.sbin/makefs/cd9660/cd9660_write.c | 2 +- usr.sbin/makefs/ffs/ffs_alloc.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/makefs/cd9660/cd9660_write.c b/usr.sbin/makefs/cd9660/cd9660_write.c index 8d4df08275db..e9de902c24f4 100644 --- a/usr.sbin/makefs/cd9660/cd9660_write.c +++ b/usr.sbin/makefs/cd9660/cd9660_write.c @@ -97,7 +97,7 @@ cd9660_write_image(iso9660_disk *diskStructure, const char* image) /* * Write the path tables: there are actually four, but right - * now we are only concearned with two. + * now we are only concerned with two. */ status = cd9660_write_path_tables(diskStructure, fd); if (status == 0) { diff --git a/usr.sbin/makefs/ffs/ffs_alloc.c b/usr.sbin/makefs/ffs/ffs_alloc.c index 88d95d6e5dda..b5fbb4111685 100644 --- a/usr.sbin/makefs/ffs/ffs_alloc.c +++ b/usr.sbin/makefs/ffs/ffs_alloc.c @@ -80,13 +80,13 @@ static int32_t ffs_mapsearch(struct fs *, struct cg *, daddr_t, int); * 1) allocate the requested block. * 2) allocate a rotationally optimal block in the same cylinder. * 3) allocate a block in the same cylinder group. - * 4) quadradically rehash into other cylinder groups, until an + * 4) quadratically rehash into other cylinder groups, until an * available block is located. * If no block preference is given the following hierarchy is used * to allocate a block: * 1) allocate a block in the cylinder group that contains the * inode for the file. - * 2) quadradically rehash into other cylinder groups, until an + * 2) quadratically rehash into other cylinder groups, until an * available block is located. */ int @@ -235,7 +235,7 @@ ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) * * The policy implemented by this algorithm is: * 1) allocate the block in its requested cylinder group. - * 2) quadradically rehash on the cylinder group number. + * 2) quadratically rehash on the cylinder group number. * 3) brute force search for a free block. * * `size': size for data blocks, mode for inodes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202090628.2196SZ8e038217>