]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix typos in comments
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 10 Jan 2026 22:04:24 +0000 (23:04 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 10 Jan 2026 22:04:24 +0000 (23:04 +0100)
No functional change.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
login-utils/chfn.c
sys-utils/nsenter.c

index 6a529ea117a9556c00a5d3e81082c2d8e87e4fb6..1c511b8bc7f58c07bd0ae679e1652560b7f37dc8 100644 (file)
@@ -70,7 +70,7 @@ struct finfo {
 struct chfn_control {
        struct passwd *pw;
        char *username;
-       /*  "oldf"  Contains the users original finger information.
+       /*  "oldf"  Contains the user's original finger information.
         *  "newf"  Contains the changed finger information, and contains
         *          NULL in fields that haven't been changed.
         *  In the end, "newf" is folded into "oldf".  */
index 3caf3dc158c774361ab2610f935f52eaaabdb4fc..a5976d9af29adc59cfbbab048177418e8c3b5baa 100644 (file)
@@ -734,7 +734,7 @@ int main(int argc, char *argv[])
                do_fork = 1;
 
        /* for user namespaces we always set UID and GID (default is 0)
-        * and clear root's groups if --preserve-credentials is no specified */
+        * and clear root's groups if --preserve-credentials is not specified */
        if ((namespaces & CLONE_NEWUSER) && !preserve_cred) {
                force_uid = true, force_gid = true;