]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
user-util: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 13 Nov 2025 04:34:06 +0000 (13:34 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 13 Nov 2025 06:36:47 +0000 (15:36 +0900)
Follow-up for b10fd796f56e4f16f7430cd22f59f544766d3bef.

src/basic/user-util.c

index 3950a5aa14bffb900d365d2f6813394e6f75ab3b..4b692076c841ba3fc1933e44d9a6ed77f78af03e 100644 (file)
@@ -831,7 +831,7 @@ char* mangle_gecos(const char *d) {
         char *mangled;
 
         /* Makes sure the provided string becomes valid as a GEGOS field, by dropping bad chars. glibc's
-         * putwent() only changes \n and : to spaces. We do more: replace all CC too, and remove invalid
+         * putpwent() only changes \n and : to spaces. We do more: replace all CC too, and remove invalid
          * UTF-8 */
 
         mangled = strdup(d);