aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp/pwd_grp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpwdgrp/pwd_grp.c')
-rw-r--r--libpwdgrp/pwd_grp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c
index cefbc8a7e..c9bbc8bda 100644
--- a/libpwdgrp/pwd_grp.c
+++ b/libpwdgrp/pwd_grp.c
@@ -14,7 +14,7 @@
14 * exit using the atexit function to make valgrind happy. 14 * exit using the atexit function to make valgrind happy.
15 * 2) the passwd/group files: 15 * 2) the passwd/group files:
16 * a) must contain the expected number of fields (as per count of field 16 * a) must contain the expected number of fields (as per count of field
17 * delimeters ":") or we will complain with a error message. 17 * delimiters ":") or we will complain with a error message.
18 * b) leading and trailing whitespace in fields is stripped. 18 * b) leading and trailing whitespace in fields is stripped.
19 * c) some fields are not allowed to be empty (e.g. username, uid/gid), 19 * c) some fields are not allowed to be empty (e.g. username, uid/gid),
20 * and in this case NULL is returned and errno is set to EINVAL. 20 * and in this case NULL is returned and errno is set to EINVAL.
@@ -149,7 +149,7 @@ static struct statics *get_S(void)
149/* Internal functions */ 149/* Internal functions */
150 150
151/* Divide the passwd/group/shadow record in fields 151/* Divide the passwd/group/shadow record in fields
152 * by substituting the given delimeter 152 * by substituting the given delimiter
153 * e.g. ':' or ',' with '\0'. 153 * e.g. ':' or ',' with '\0'.
154 * Returns the number of fields found. 154 * Returns the number of fields found.
155 * Strips leading and trailing whitespace in fields. 155 * Strips leading and trailing whitespace in fields.