summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/XXX-lookup.c2
-rw-r--r--nss/nss_files/files-netgrp.c2
-rw-r--r--nss/nsswitch.h6
3 files changed, 5 insertions, 5 deletions
diff --git a/nss/XXX-lookup.c b/nss/XXX-lookup.c
index 67a3be1009..cfb89a2702 100644
--- a/nss/XXX-lookup.c
+++ b/nss/XXX-lookup.c
@@ -23,7 +23,7 @@
 |* Here we assume one symbol to be defined:			   *|
 |* 								   *|
 |* DATABASE_NAME - name of the database the function accesses	   *|
-|*		   (e.g., hosts, servicess, ...)		   *|
+|*		   (e.g., hosts, services, ...)			   *|
 |* 								   *|
 |* One additional symbol may optionally be defined:		   *|
 |* 								   *|
diff --git a/nss/nss_files/files-netgrp.c b/nss/nss_files/files-netgrp.c
index 83e1382d42..7fd6b3f7cb 100644
--- a/nss/nss_files/files-netgrp.c
+++ b/nss/nss_files/files-netgrp.c
@@ -248,7 +248,7 @@ _nss_netgroup_parseline (char **cursor, struct __netgrent *result,
 
       status = NSS_STATUS_SUCCESS;
 
-      /* Rememember where we stopped reading.  */
+      /* Remember where we stopped reading.  */
       *cursor = cp;
 
       result->first = 0;
diff --git a/nss/nsswitch.h b/nss/nsswitch.h
index a484ef7e05..092ff6e070 100644
--- a/nss/nsswitch.h
+++ b/nss/nsswitch.h
@@ -107,7 +107,7 @@ int __nss_database_lookup (const char *database, const char *alternative_name,
 
 /* Put first function with name FCT_NAME for SERVICE in FCTP.  The
    position is remembered in NI.  The function returns a value < 0 if
-   an error occured or no such function exists.  */
+   an error occurred or no such function exists.  */
 int __nss_lookup (service_user **ni, const char *fct_name, void **fctp);
 
 /* Determine the next step in the lookup process according to the
@@ -115,8 +115,8 @@ int __nss_lookup (service_user **ni, const char *fct_name, void **fctp);
    `__nss_lookup' or `__nss_next'.  NI specifies the last function
    examined.  The function return a value > 0 if the process should
    stop with the last result of the last function call to be the
-   result of the entire lookup.  The returned valie is 0 if there is
-   another function to use and < 0 if an error occured.
+   result of the entire lookup.  The returned value is 0 if there is
+   another function to use and < 0 if an error occurred.
 
    If ALL_VALUES is nonzero, the return value will not be > 0 as long as
    there is a possibility the lookup process can ever use following