summaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>1999-01-18 02:14:20 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>1999-01-18 02:14:20 +0000
commita135bdb9a089d053c32961f1b675e630c37b1988 (patch)
tree69c0c01a525df6fae49f9fa7ea67878073e819f8 /include/pwd.h
parent88658ab880a56d39a68ccdc47fa3307fc5f7aace (diff)
downloadsrc-test2-a135bdb9a089d053c32961f1b675e630c37b1988.tar.gz
src-test2-a135bdb9a089d053c32961f1b675e630c37b1988.zip
Use the correct type for uid and gid in struct passwd. Document it.
Notes
Notes: svn path=/head/; revision=42780
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 895ced304efb..88d705d89621 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -71,8 +71,8 @@
struct passwd {
char *pw_name; /* user name */
char *pw_passwd; /* encrypted password */
- int pw_uid; /* user uid */
- int pw_gid; /* user gid */
+ uid_t pw_uid; /* user uid */
+ gid_t pw_gid; /* user gid */
time_t pw_change; /* password change time */
char *pw_class; /* user access class */
char *pw_gecos; /* Honeywell login info */