projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bec97c
)
Yipe. uid and gid were reversed.
author
Eric Andersen
<andersen@codepoet.org>
Tue, 10 Sep 2002 05:23:29 +0000
(
05:23
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 10 Sep 2002 05:23:29 +0000
(
05:23
-0000)
-Erik
libpwdgrp/putpwent.c
patch
|
blob
|
history
diff --git
a/libpwdgrp/putpwent.c
b/libpwdgrp/putpwent.c
index de285ebaf286ed7217069833f26204df27cdcf9c..f6b3a25772d6e125c07c665974982997aaf7fb54 100644
(file)
--- 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_u
id, passwd->pw_gecos, passwd->pw_dir,
+ passwd->pw_
uid, passwd->pw_g
id, passwd->pw_gecos, passwd->pw_dir,
passwd->pw_shell) < 0)
return -1;