aboutsummaryrefslogtreecommitdiffstats
path: root/include/grp.h
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2002-01-22 17:32:53 +0000
committerMark Murray <markm@FreeBSD.org>2002-01-22 17:32:53 +0000
commit5567b258ebfb1a00cb9d07371894eae183e09a25 (patch)
tree4fa4107bd9dc143cbf75e44ad9d40c4184b8784e /include/grp.h
parent7228268aaab0a8b611f372812bbde4799fb4b07b (diff)
downloadsrc-5567b258ebfb1a00cb9d07371894eae183e09a25.tar.gz
src-5567b258ebfb1a00cb9d07371894eae183e09a25.zip
Use the proper type (gid_t) for (group)->gr_gid to be orthogonal
with uid_t usage and (user)->pw_uid. PR: 3242
Notes
Notes: svn path=/head/; revision=89663
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 9e5654a958d3..2e245d5afc04 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 */
};