summaryrefslogtreecommitdiffstats
path: root/include/grp.h
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 /include/grp.h
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 'include/grp.h')
-rw-r--r--include/grp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grp.h b/include/grp.h
index 9e5654a..2e245d5 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)grp.h 8.2 (Berkeley) 1/21/94
+ * $FreeBSD$
*/
#ifndef _GRP_H_
@@ -48,7 +49,7 @@
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 */
};
OpenPOWER on IntegriCloud