From: Eric Andersen Date: Tue, 10 Sep 2002 05:23:29 +0000 (-0000) Subject: Yipe. uid and gid were reversed. X-Git-Tag: 0_60_4~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2a1eb31f18f5a185d43760bf504249a66a26fe4d;p=oweals%2Fbusybox.git Yipe. uid and gid were reversed. -Erik --- diff --git a/libpwdgrp/putpwent.c b/libpwdgrp/putpwent.c index de285ebaf..f6b3a2577 100644 --- a/libpwdgrp/putpwent.c +++ b/libpwdgrp/putpwent.c @@ -31,7 +31,7 @@ int putpwent(const struct passwd *passwd, FILE * f) return -1; } 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;