1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

No need to cast; ().gr_gid is already the correct type.

This commit is contained in:
Mark Murray 2002-03-22 15:54:44 +00:00
parent 496ffc90e4
commit d080dfa558
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92956

View File

@ -236,7 +236,7 @@ grp_add(char *str)
paxwarn(1,"Cannot determine gid for group name: %s", str);
return(-1);
}
gid = (gid_t)gr->gr_gid;
gid = gr->gr_gid;
} else
# ifdef NET2_STAT
gid = (gid_t)atoi(str+1);