From nobody Wed Feb 09 06:20:46 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D343C19BE989; Wed, 9 Feb 2022 06:20:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JtqWM1TWVz4t7B; Wed, 9 Feb 2022 06:20:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644387647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FZzUlqQuqYcUwoj2x/iUn2hKOL1yJhDaOYkAyNypdXg=; b=mHK4um4i17wUcGmopTvr8b4GxYC8Vii9aKMwkYrH4iSIUw1L6Jkq0CaLuxeVdZKSB4k7z6 0OMucWLNr6uFbPI7dD0apBl+Aekf82qTmmx3woC1smPGs8itna34jrY2d4QrTeTqtyP9cs q4jPX/ZQTnCIoEBEreNlUEvj/bcgsDUAnfn4ZmralqVU7MzwJrsvzyHC5vSZ5XKDZQ01g7 lPCVJeSeBs3AysgzxVt0C9s38X8lySLpC4fCJ4ZLTvuP+mMIwhbDJ/x5fABShicApzXLLx LLVG3Uro79k0YFhb0Ytqtv0yWrrOaoAKSCrDvYdcmKGCQv0hp3Ev6dvgg2XWfw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D14EA54; Wed, 9 Feb 2022 06:20:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2196KkqH035775; Wed, 9 Feb 2022 06:20:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2196Kkq2035774; Wed, 9 Feb 2022 06:20:46 GMT (envelope-from git) Date: Wed, 9 Feb 2022 06:20:46 GMT Message-Id: <202202090620.2196Kkq2035774@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 3222f9a524eb - stable/13 - makefs(8): Fix a few typos in source code comments List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 3222f9a524ebe1ed2d95ec26b89faf7e2b165b61 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644387647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FZzUlqQuqYcUwoj2x/iUn2hKOL1yJhDaOYkAyNypdXg=; b=wod5U8QKCZd9yrq2w58UYfnTmYM0KLaF/QjdGBvvU+cEeG0UHzYUVnaW/wJJPuPRkTQ+Mh 1wfUQmgnyVQZPGoETK9Z/U0STe/kgk/0TxyCm02DHw17EJZdt/HckiZ1HX/ldmZyqQoM74 jwLwXb8QkArbGy1GDUR0P+Pz0IWzOceKL94ogke8702KGkQTw5x9RZfJxVlNmQ5Rsec2BL k3bjovvo3h/a7720Xg79Kwy+ZgQbSccg3Fthkio8ATFWR93nJNiYcBO6j6D7bWm2Ss2V0X T1VOZ7p0//yMjQ1hW+rLW8PlIEdaI5kvB8Yksg/C/fFv8ame42+3iHkCfS3CBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644387647; a=rsa-sha256; cv=none; b=JCDnMBixeucRdAEpQiYdiT7eGhrl0+YU6CAvWlBhG/K9OE2Fp6GSmwfTuVsRzGCx3SAqAg 3pVOypaDj2mpTYQm7Uaj9tq50rzfJu5GcIHES3jQz4aTkaTDoMBceEMQcG4/OTQluGe3fO J0NHHbt10PEpNnU6uENFQT0Wrtu5wXgta09cDZPbkuFDhyZBnpJHgPRaQHbNEZM+Q718r/ msWXRjn3wUTZRp7BA24Jy7Vgh0u2YqXYFfiJlvhCLEGFZSQVaSgHljwAGxlOPCWIdqQoYv 4og1LPFm5bEAVNHCFhWbe8UM00QI5lDbkWMU/pJZS8T0NhpdMKgOnIq2To5Zuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=3222f9a524ebe1ed2d95ec26b89faf7e2b165b61 commit 3222f9a524ebe1ed2d95ec26b89faf7e2b165b61 Author: Gordon Bergling AuthorDate: 2022-02-06 12:46:38 +0000 Commit: Gordon Bergling CommitDate: 2022-02-09 06:18:33 +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 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 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