]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Fix typos.
authorNicolas François <nicolas.francois@centraliens.net>
Tue, 6 Aug 2013 18:32:59 +0000 (20:32 +0200)
committerNicolas François <nicolas.francois@centraliens.net>
Tue, 6 Aug 2013 18:59:13 +0000 (20:59 +0200)
* man/login.defs.d/SUB_GID_COUNT.xml: Fix typo.
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
* man/login.defs.d/SUB_UID_COUNT.xml: Fix copy-paste issue from
SUB_GID_COUNT.
* man/newgidmap.1.xml: Fix Typo.
* src/useradd.c: Fix typos.
* lib/subordinateio.c: Fix typos.

ChangeLog
lib/subordinateio.c
man/login.defs.d/SUB_GID_COUNT.xml
man/login.defs.d/SUB_UID_COUNT.xml
man/newgidmap.1.xml
src/useradd.c

index 4f64110a9917d2e44410ce541466a9b0825f1070..2b9e9b71846e0ee08caea3cd22d9887fc515b123 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2013-08-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/login.defs.d/SUB_GID_COUNT.xml: Fix typo.
+       * man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
+       * man/login.defs.d/SUB_UID_COUNT.xml: Fix copy-paste issue from
+       SUB_GID_COUNT.
+       * man/newgidmap.1.xml: Fix Typo.
+       * src/useradd.c: Fix typos.
+       * lib/subordinateio.c: Fix typos.
+
 2013-08-06  Nicolas François  <nicolas.francois@centraliens.net>
 
        Fix Debian bug #675824
index 4cca9925b9e4423aede5c692e3e21d59d8cc98e5..051fb9f13ee183e8ea21abf52ab54ee8becf4576 100644 (file)
@@ -231,7 +231,7 @@ static unsigned long find_free_range(struct commonio_db *db,
        if ((count == 0) || (max <= min))
                goto fail;
 
-       /* Sort by range than by owner */
+       /* Sort by range then by owner */
        commonio_sort (db, subordinate_range_cmp);
        commonio_rewind(db);
 
@@ -275,7 +275,7 @@ static int add_range(struct commonio_db *db,
        if (have_range(db, owner, start, count))
                return 1;
 
-       /* Oterwise append the range */
+       /* Otherwise append the range */
        return commonio_append(db, &range);
 }
 
index db1a25b01d2d3a920882c071ce6df909c7df3b2c..067d61965f6d14fdb2c90d03a011aaba2e3718c9 100644 (file)
@@ -38,7 +38,7 @@
       new user.
     </para>
     <para>
-      The default values for <option>SUB_GID_MAN</option>,
+      The default values for <option>SUB_GID_MAX</option>,
       <option>SUB_GID_MIN</option>, <option>SUB_GID_COUNT</option>
       are respectively 100000, 600100000 and 10000.
     </para>
index bea3b6a13ea7b3bc7b5d05d0a40dabe17129f9df..82595d359dd83e827efaae998d2b2ee2936e5dac 100644 (file)
@@ -38,8 +38,8 @@
       new user.
     </para>
     <para>
-      The default values for <option>SUB_GID_MAN</option>,
-      <option>SUB_GID_MIN</option>, <option>SUB_GID_COUNT</option>
+      The default values for <option>SUB_UID_MAX</option>,
+      <option>SUB_UID_MIN</option>, <option>SUB_UID_COUNT</option>
       are respectively 100000, 600100000 and 10000.
     </para>
   </listitem>
index 424a480cff954311a0ab42cc6699d8228c729ba7..ac4d99bdef1add0006235b2addf7f8b6c4c3e081 100644 (file)
       <varlistentry>
        <term><filename>/etc/subgid</filename></term>
        <listitem>
-         <para>List of users subordinate user IDs.</para>
+         <para>List of users subordinate group IDs.</para>
        </listitem>
       </varlistentry>
       <varlistentry>
index 70bac952e19b6147eae46001dec535ad8eae2f97..546a5c2a87fc0d4996f560c38cddfb076edcf99b 100644 (file)
@@ -285,7 +285,7 @@ static void fail_exit (int code)
                        SYSLOG ((LOG_ERR, "failed to unlock %s", sub_uid_dbname ()));
 #ifdef WITH_AUDIT
                        audit_logger (AUDIT_ADD_USER, Prog,
-                                     "unlocking subodinate user file",
+                                     "unlocking subordinate user file",
                                      user_name, AUDIT_NO_ID,
                                      SHADOW_AUDIT_FAILURE);
 #endif
@@ -298,7 +298,7 @@ static void fail_exit (int code)
                        SYSLOG ((LOG_ERR, "failed to unlock %s", sub_gid_dbname ()));
 #ifdef WITH_AUDIT
                        audit_logger (AUDIT_ADD_USER, Prog,
-                                     "unlocking subodinate group file",
+                                     "unlocking subordinate group file",
                                      user_name, AUDIT_NO_ID,
                                      SHADOW_AUDIT_FAILURE);
 #endif