git: 164fa411b924 - main - makefs(8): Fix a few typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Feb 2022 12:46:51 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=164fa411b9244ce3f4ae0d6f17a7f64f6b9ee941
commit 164fa411b9244ce3f4ae0d6f17a7f64f6b9ee941
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-02-06 12:46:38 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-06 12:46:38 +0000
makefs(8): Fix a few typos in source code comments
- s/concearned/concerned/
- s/quadradically/quadratically/
Obtained from: NetBSD
MFC after: 3 days
---
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 3d50fcd6b232..71e884f792d9 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 c31106772b45..ff0e72c56af0 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