diff options
Diffstat (limited to 'pwd/fgetpwent.c')
-rw-r--r-- | pwd/fgetpwent.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pwd/fgetpwent.c b/pwd/fgetpwent.c index ba9f834905..c29e96ec68 100644 --- a/pwd/fgetpwent.c +++ b/pwd/fgetpwent.c @@ -29,12 +29,12 @@ struct pwent_data {}; #include "../nss/nss_files/files-parse.c" LINE_PARSER ( - STRING_FIELD (result->pw_name, ISCOLON); - STRING_FIELD (result->pw_passwd, ISCOLON); - INT_FIELD (result->pw_uid, ISCOLON, 10,); - INT_FIELD (result->pw_gid, ISCOLON, 10,); - STRING_FIELD (result->pw_gecos, ISCOLON); - STRING_FIELD (result->pw_dir, ISCOLON); + STRING_FIELD (result->pw_name, ISCOLON, 0); + STRING_FIELD (result->pw_passwd, ISCOLON, 0); + INT_FIELD (result->pw_uid, ISCOLON, 0, 10,); + INT_FIELD (result->pw_gid, ISCOLON, 0, 10,); + STRING_FIELD (result->pw_gecos, ISCOLON, 0); + STRING_FIELD (result->pw_dir, ISCOLON, 0); result->pw_shell = line; ) |