diff mbox series

nscd: Typo inside comment in netgroup cache

Message ID 87v83zp2dq.fsf@oldenburg.str.redhat.com
State New
Headers show
Series nscd: Typo inside comment in netgroup cache | expand

Commit Message

Florian Weimer April 30, 2024, 10:32 a.m. UTC
Reported-by: Jonathan Wakely <jwakely@redhat.com>

---
 nscd/netgroupcache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: ebfd73a80f15559fe59fee32a7844c6b8fa99576

Comments

Adhemerval Zanella Netto April 30, 2024, 12:23 p.m. UTC | #1
On 30/04/24 07:32, Florian Weimer wrote:
> Reported-by: Jonathan Wakely <jwakely@redhat.com>
> 

Ok.

> ---
>  nscd/netgroupcache.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/nscd/netgroupcache.c b/nscd/netgroupcache.c
> index e8fe041846..4b35498e3f 100644
> --- a/nscd/netgroupcache.c
> +++ b/nscd/netgroupcache.c
> @@ -522,7 +522,7 @@ addinnetgrX (struct database_dyn *db, int fd, request_header *req,
>    if (__glibc_unlikely (dataset == NULL))
>      {
>        cacheable = false;
> -      /* The alloca is safe because nscd_run_worker verfies that
> +      /* The alloca is safe because nscd_run_worker verifies that
>  	 key_len is not larger than MAXKEYLEN.  */
>        dataset = alloca (sizeof (*dataset) + req->key_len);
>      }
> 
> base-commit: ebfd73a80f15559fe59fee32a7844c6b8fa99576
>
diff mbox series

Patch

diff --git a/nscd/netgroupcache.c b/nscd/netgroupcache.c
index e8fe041846..4b35498e3f 100644
--- a/nscd/netgroupcache.c
+++ b/nscd/netgroupcache.c
@@ -522,7 +522,7 @@  addinnetgrX (struct database_dyn *db, int fd, request_header *req,
   if (__glibc_unlikely (dataset == NULL))
     {
       cacheable = false;
-      /* The alloca is safe because nscd_run_worker verfies that
+      /* The alloca is safe because nscd_run_worker verifies that
 	 key_len is not larger than MAXKEYLEN.  */
       dataset = alloca (sizeof (*dataset) + req->key_len);
     }