summaryrefslogtreecommitdiffstats
path: root/include/pwd.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1999-01-18 02:14:20 +0000
committerdes <des@FreeBSD.org>1999-01-18 02:14:20 +0000
commit9dabb14045fe74d9e0f500999f57f5eb7d4b5b0b (patch)
tree3ea043d4ad9462da228cee31593c9d86a46f34b0 /include/pwd.h
parentac68ffc018823cea35a85329ca748080203987a0 (diff)
downloadFreeBSD-src-9dabb14045fe74d9e0f500999f57f5eb7d4b5b0b.zip
FreeBSD-src-9dabb14045fe74d9e0f500999f57f5eb7d4b5b0b.tar.gz
Use the correct type for uid and gid in struct passwd. Document it.
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 895ced3..88d705d 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 */
OpenPOWER on IntegriCloud