]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(putpwent): Fix typos.
authorUlrich Drepper <drepper@redhat.com>
Mon, 17 Aug 1998 10:08:24 +0000 (10:08 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 17 Aug 1998 10:08:24 +0000 (10:08 +0000)
pwd/putpwent.c

index a63d86b1898d33a3271a98fe7027fdd8e526e7f3..18ddbf911f88611a975ce314ac80e8d2ca4ca7f7 100644 (file)
@@ -20,7 +20,7 @@ Cambridge, MA 02139, USA.  */
 #include <stdio.h>
 #include <pwd.h>
 
-#define _S(x)  x ? x : ""\r
+#define _S(x)  x ? x : ""
 
 /* Write an entry to the given stream.
    This must know the format of the password file.  */
@@ -36,7 +36,7 @@ putpwent (p, stream)
     }
 
   if (fprintf (stream, "%s:%s:%u:%u:%s:%s:%s\n",
-              p->pw_name, _(p->pw_passwd),
+              p->pw_name, _S(p->pw_passwd),
               p->pw_uid, p->pw_gid,
               _S(p->pw_gecos), _S(p->pw_dir), _S(p->pw_shell)) < 0)
     return(-1);