]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
chfn: make comment more accurate
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 15 Jan 2026 23:32:50 +0000 (18:32 -0500)
committerKarel Zak <kzak@redhat.com>
Thu, 29 Jan 2026 11:20:15 +0000 (12:20 +0100)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
login-utils/chfn.c

index 80436e2c8dafd822da4b22cf596e63e4ba092801..bcd8599bc3913db99b4dcd1b89de9514b28fa65b 100644 (file)
@@ -241,7 +241,7 @@ static char *ask_new_field(struct chfn_control *ctl, const char *question,
                if (getline(&buf, &dummy, stdin) < 0)
                        errx(EXIT_FAILURE, _("Aborted."));
 
-               /* remove white spaces from string end */
+               /* remove whitespace from string start and end */
                ltrim_whitespace((unsigned char *) buf);
                len = rtrim_whitespace((unsigned char *) buf);
                if (len == 0) {