Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2022 06:44:51 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: 69299681d7c2 - stable/12 - libkern: Fix two typos in source code comments
Message-ID:  <202204140644.23E6iptd096494@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=69299681d7c2e3772dfa23254697035b52f36576

commit 69299681d7c2e3772dfa23254697035b52f36576
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 07:36:34 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-14 06:31:10 +0000

    libkern: Fix two typos in source code comments
    
    - s/noticably/noticeably/
    
    (cherry picked from commit d10abf84ad9f508e5e58ec76f90e960eef228b3f)
---
 sys/libkern/jenkins_hash.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/libkern/jenkins_hash.c b/sys/libkern/jenkins_hash.c
index 089de4e1d991..250ef458aa67 100644
--- a/sys/libkern/jenkins_hash.c
+++ b/sys/libkern/jenkins_hash.c
@@ -241,7 +241,7 @@ uint32_t jenkins_hash( const void *key, size_t length, uint32_t initval)
      * rest of the string.  Every machine with memory protection I've seen
      * does it on word boundaries, so is OK with this.  But VALGRIND will
      * still catch it and complain.  The masking trick does make the hash
-     * noticably faster for short strings (like English words).
+     * noticeably faster for short strings (like English words).
      */
 
     switch(length)
@@ -394,7 +394,7 @@ uint32_t jenkins_hash( const void *key, size_t length, uint32_t initval)
      * rest of the string.  Every machine with memory protection I've seen
      * does it on word boundaries, so is OK with this.  But VALGRIND will
      * still catch it and complain.  The masking trick does make the hash
-     * noticably faster for short strings (like English words).
+     * noticeably faster for short strings (like English words).
      */
 
     switch(length)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204140644.23E6iptd096494>