summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getgrent.3
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-01-22 17:32:53 +0000
committermarkm <markm@FreeBSD.org>2002-01-22 17:32:53 +0000
commite2a2029185c199c7c68e39df67aa68b32137facc (patch)
tree4fa4107bd9dc143cbf75e44ad9d40c4184b8784e /lib/libc/gen/getgrent.3
parent83a72ec01c6326a9a3a9f6e66192863bcbd4b8e4 (diff)
downloadFreeBSD-src-e2a2029185c199c7c68e39df67aa68b32137facc.zip
FreeBSD-src-e2a2029185c199c7c68e39df67aa68b32137facc.tar.gz
Use the proper type (gid_t) for (group)->gr_gid to be orthogonal
with uid_t usage and (user)->pw_uid. PR: 3242
Diffstat (limited to 'lib/libc/gen/getgrent.3')
-rw-r--r--lib/libc/gen/getgrent.32
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getgrent.3 b/lib/libc/gen/getgrent.3
index bdfe039..f32a901 100644
--- a/lib/libc/gen/getgrent.3
+++ b/lib/libc/gen/getgrent.3
@@ -78,7 +78,7 @@ file
struct group {
char *gr_name; /* group name */
char *gr_passwd; /* group password */
- int gr_gid; /* group id */
+ gid_t gr_gid; /* group id */
char **gr_mem; /* group members */
};
.Ed
OpenPOWER on IntegriCloud