]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
chfn: fix typos, wording, and punctuation inconsistencies
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Wed, 14 Jan 2026 04:21:33 +0000 (23:21 -0500)
committerKarel Zak <kzak@redhat.com>
Thu, 29 Jan 2026 11:12:55 +0000 (12:12 +0100)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
login-utils/chfn.c

index 1c511b8bc7f58c07bd0ae679e1652560b7f37dc8..27bdddaaa2c72cfc0114e7a1494fffb4da3f106d 100644 (file)
@@ -417,12 +417,12 @@ int main(int argc, char **argv)
        if (!ctl.username) {
                ctl.pw = getpwuid(uid);
                if (!ctl.pw)
-                       errx(EXIT_FAILURE, _("you (user %d) don't exist."),
+                       errx(EXIT_FAILURE, _("your user %d does not exist"),
                             uid);
        } else {
                ctl.pw = ul_getuserpw_str(ctl.username);
                if (!ctl.pw)
-                       errx(EXIT_FAILURE, _("user \"%s\" does not exist."),
+                       errx(EXIT_FAILURE, _("user \"%s\" does not exist"),
                             ctl.username);
        }
        ctl.username = ctl.pw->pw_name;
@@ -456,8 +456,8 @@ int main(int argc, char **argv)
        if (uid != 0 && uid != ctl.pw->pw_uid) {
 #endif
                errno = EACCES;
-               err(EXIT_FAILURE, _("running UID doesn't match UID of user we're "
-                     "altering, change denied"));
+               err(EXIT_FAILURE, _("running UID doesn't match UID of the user you are "
+                     "attempting to alter, change denied"));
        }
 
        printf(_("Changing finger information for %s.\n"), ctl.username);