[glibc] nscd: Typo in comment

Florian Weimer via Glibc-cvs <[email protected]> Mon, 8 Jun 2026 15:32:41 +0000 (GMT)
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=88099e289d07822cebc7fd40645863d769f5a5ad

commit 88099e289d07822cebc7fd40645863d769f5a5ad
Author: Josef Johansson <[email protected]>
Date:   Mon Jun 8 17:32:27 2026 +0200

    nscd: Typo in comment
    
    Fixes: https://sourceware.org/bugzilla/show_bug.cgi?id=34240
    
    Signed-off-by: Josef Johansson <[email protected]>
    Reviewed-by: Florian Weimer <[email protected]>

Diff:
---
 nscd/grpcache.c      | 2 +-
 nscd/hstcache.c      | 2 +-
 nscd/initgrcache.c   | 2 +-
 nscd/pwdcache.c      | 2 +-
 nscd/servicescache.c | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/nscd/grpcache.c b/nscd/grpcache.c
index a05f6fb6e6..5be8a70c79 100644
--- a/nscd/grpcache.c
+++ b/nscd/grpcache.c
@@ -192,7 +192,7 @@ cache_addgr (struct database_dyn *db, int fd, request_header *req,
 	       + gr_mem_cnt * sizeof (uint32_t)
 	       + gr_name_len + gr_passwd_len + gr_mem_len_total);
 
-      /* If we refill the cache, first assume the reconrd did not
+      /* If we refill the cache, first assume the record did not
 	 change.  Allocate memory on the cache since it is likely
 	 discarded anyway.  If it turns out to be necessary to have a
 	 new record we can still allocate real memory.  */
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index 78485fbac3..fe91818640 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -224,7 +224,7 @@ cache_addhst (struct database_dyn *db, int fd, request_header *req,
 		+ h_aliases_cnt * sizeof (uint32_t)
 		+ h_addr_list_cnt * hst->h_length);
 
-      /* If we refill the cache, first assume the reconrd did not
+      /* If we refill the cache, first assume the record did not
 	 change.  Allocate memory on the cache since it is likely
 	 discarded anyway.  If it turns out to be necessary to have a
 	 new record we can still allocate real memory.  */
diff --git a/nscd/initgrcache.c b/nscd/initgrcache.c
index ac7b948a46..e5e00b89ee 100644
--- a/nscd/initgrcache.c
+++ b/nscd/initgrcache.c
@@ -245,7 +245,7 @@ addinitgroupsX (struct database_dyn *db, int fd, request_header *req,
 
       total = offsetof (struct dataset, strdata) + start * sizeof (int32_t);
 
-      /* If we refill the cache, first assume the reconrd did not
+      /* If we refill the cache, first assume the record did not
 	 change.  Allocate memory on the cache since it is likely
 	 discarded anyway.  If it turns out to be necessary to have a
 	 new record we can still allocate real memory.  */
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index 715775be2f..29b83fa6be 100644
--- a/nscd/pwdcache.c
+++ b/nscd/pwdcache.c
@@ -186,7 +186,7 @@ cache_addpw (struct database_dyn *db, int fd, request_header *req,
 	       + pw_name_len + pw_passwd_len
 	       + pw_gecos_len + pw_dir_len + pw_shell_len);
 
-      /* If we refill the cache, first assume the reconrd did not
+      /* If we refill the cache, first assume the record did not
 	 change.  Allocate memory on the cache since it is likely
 	 discarded anyway.  If it turns out to be necessary to have a
 	 new record we can still allocate real memory.  */
diff --git a/nscd/servicescache.c b/nscd/servicescache.c
index aa8a80d483..d4ec08f3e8 100644
--- a/nscd/servicescache.c
+++ b/nscd/servicescache.c
@@ -180,7 +180,7 @@ cache_addserv (struct database_dyn *db, int fd, request_header *req,
 		+ s_proto_len
 		+ s_aliases_cnt * sizeof (uint32_t));
 
-      /* If we refill the cache, first assume the reconrd did not
+      /* If we refill the cache, first assume the record did not
 	 change.  Allocate memory on the cache since it is likely
 	 discarded anyway.  If it turns out to be necessary to have a
 	 new record we can still allocate real memory.  */