From nobody Sun Feb 06 12:46:51 2022 X-Original-To: dev-commits-src-main@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 8E93A19BFBF2; Sun, 6 Feb 2022 12:46:53 +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 4Js8DD71Ztz3pn2; Sun, 6 Feb 2022 12:46:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644151613; 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=5nqF4hlp4jRASR/Dt/FBSBKTbytcu9rbHVHkCGKv7Gw=; b=mF9CLr5BeXwaDY+jRtbaB43ASa9e2ZFuz54msezncLOQhP2kyNex2tNWIzFWcXgQG7+CRM ZmsWSobhWSL6qXr0zDlCDVhW9v/PtWNeHyjtz6P3WNca9l02VznCycpH9Z17V8dssNBOda nzBY7cdn4Sj2O2QuG4YwvQYbK1vj6+oCcxcjo7stPU8t+90Z6L6exwUUXIwTGFNRhhpXtT tUVPQko5nOaZjCi6r/BPHjWdlTxtEscK4mSS+nKf0MeR7JWh5u2y6zeHedn+YvoBKDYHz7 k7PXFBfCVxqqk6lYhhDULzzczSkjrBgNVWn7j90IQZCXEmSUJEAoTnLfcIkEyg== 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 1720612AC2; Sun, 6 Feb 2022 12:46:52 +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 216Ckp8U069101; Sun, 6 Feb 2022 12:46:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 216CkpIH069100; Sun, 6 Feb 2022 12:46:51 GMT (envelope-from git) Date: Sun, 6 Feb 2022 12:46:51 GMT Message-Id: <202202061246.216CkpIH069100@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 164fa411b924 - main - makefs(8): Fix a few typos in source code comments List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 164fa411b9244ce3f4ae0d6f17a7f64f6b9ee941 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644151613; 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=5nqF4hlp4jRASR/Dt/FBSBKTbytcu9rbHVHkCGKv7Gw=; b=EsdW1744SuGXRIWFU0WmgwOP3A/rqxAuwq8yBvGIXMfpHyDHX4MnL5USAfRvoj6EqbLSEQ BBtVCsmwVMO8fWZZ4wnT0F84FVhQeubJpQSAm6TgQB2HozQtax7tNHO7EpKhhA5tdTlqfy qj4r1MelDA99+gnhZRc4ljsDSajkdXxRYMKnj0uLTsDAp8T8MqnCv5x3/x3SEJJKOy9JzT Cnf6ya/T0mmwTcPzrXL2tp5TKVRNrLRSvaagWdm8G9nlvUIQ0eNACszYrIGXzue4TaYhtO MODxL0i1LHLr28nzJfB8AHe0iAe8ID1RHpULydFurlwgj7fLaK/0FSduOE0lNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644151613; a=rsa-sha256; cv=none; b=HFcLHGrP31FB3Y6f4O54DU+pkSgxbyl/e6NsqzKUV56+hYcsIm43VDyk9zppY2voAlG2IM O/qetxk1DBWHDcDPJs0jRiANBQWSqrvvtpKSKqXARTjR7v6xFPh/hujJeMGrtIRG/2dmOr Kr5p2KP9AR1oRSquc6b9+NEPK+Ydw+a2WJJ9+jHPco6Q7sL/BOUCqrfB4x/T3aDZ+uwXF0 jdhd3L8APfYL8rIJIuZGJbx1fmPzkiYMSuGB2kOFQQCY7wl8RtEvaGORjCiUFtaDVvTKDk uaaZFAiL5T/ZdrinIE6qFmgV5u4P5Xxm6soV8UHS7HznHmq7ywnO4jfAi6orVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=164fa411b9244ce3f4ae0d6f17a7f64f6b9ee941 commit 164fa411b9244ce3f4ae0d6f17a7f64f6b9ee941 Author: Gordon Bergling AuthorDate: 2022-02-06 12:46:38 +0000 Commit: Gordon Bergling 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