summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/pwd_grp/putpwent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/pwd_grp/putpwent.c b/libc/pwd_grp/putpwent.c
index 84028523b..da575b490 100644
--- a/libc/pwd_grp/putpwent.c
+++ b/libc/pwd_grp/putpwent.c
@@ -30,9 +30,10 @@ int putpwent(const struct passwd *passwd, FILE * f)
}
if (fprintf
(f, "%s:%s:%u:%u:%s:%s:%s\n", passwd->pw_name, passwd->pw_passwd,
- passwd->pw_gid, passwd->pw_uid, passwd->pw_gecos, passwd->pw_dir,
+ passwd->pw_uid, passwd->pw_gid, passwd->pw_gecos, passwd->pw_dir,
passwd->pw_shell) < 0)
return -1;
return 0;
}
+