]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Fix grammar
authorSamanta Navarro <ferivoz@riseup.net>
Thu, 16 Feb 2023 11:54:14 +0000 (11:54 +0000)
committerSerge Hallyn <serge@hallyn.com>
Thu, 16 Feb 2023 19:23:08 +0000 (13:23 -0600)
Use proper grammar (third-person singular).

Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
libmisc/xgetgrgid.c
libmisc/xgetpwuid.c
src/su.c

index 66398c5f60b112a73d7564732e53c570dd0af4db..b83f9aa1e5eda962be7c3d5fd604e8d7f18ec033 100644 (file)
@@ -23,7 +23,7 @@
  *  Two important function classes that fall into this category are
  *  getpwnam(3) and syslog(3).
  *
- * This file provide wrapper to the getpwnam or getpwnam_r functions.
+ * This file provides wrapper to the getpwnam or getpwnam_r functions.
  */
 
 #include <config.h>
index cafc8953b805cf7048d976869c6b64da4059fc74..9f66e2fcae9d6876d57d8a835744b63a613329dd 100644 (file)
@@ -23,7 +23,7 @@
  *  Two important function classes that fall into this category are
  *  getpwnam(3) and syslog(3).
  *
- * This file provide wrapper to the getpwnam or getpwnam_r functions.
+ * This file provides wrapper to the getpwnam or getpwnam_r functions.
  */
 
 #include <config.h>
index 6a567bb529bd320c2cd572683e3f679f8c99602b..af1873ee4556f62ea3da645b24fb3ee5bb046435 100644 (file)
--- a/src/su.c
+++ b/src/su.c
@@ -808,7 +808,7 @@ static void process_flags (int argc, char **argv)
                case 'm':
                case 'p':
                        /* This will only have an effect if the target
-                        * user do not have a restricted shell, or if
+                        * user does not have a restricted shell, or if
                         * su is called by root.
                         */
                        change_environment = false;
@@ -1017,7 +1017,7 @@ int main (int argc, char **argv)
 
        pw = check_perms ();
 
-       /* If the user do not want to change the environment,
+       /* If the user does not want to change the environment,
         * use the current SHELL.
         * (unless another shell is required by the command line)
         */