diff options
author | dds <dds@FreeBSD.org> | 2004-05-11 11:05:26 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2004-05-11 11:05:26 +0000 |
commit | 95de53b08b41f33e7df17ed2325aac4eb08ff17a (patch) | |
tree | 79970332a81d4097820fb7f7606545e30f8708e8 /lib/libutil/login_cap.c | |
parent | e167ef630df3d060d2886d5ee1f758b888157808 (diff) | |
download | FreeBSD-src-95de53b08b41f33e7df17ed2325aac4eb08ff17a.zip FreeBSD-src-95de53b08b41f33e7df17ed2325aac4eb08ff17a.tar.gz |
Bring the description for login_getclassbyname in sync with the function's
arguments. The function has as a second argument a struct passwd * pointer,
not a directory name.
MFC after: 2 weeks
Diffstat (limited to 'lib/libutil/login_cap.c')
-rw-r--r-- | lib/libutil/login_cap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c index ad1dacb..50ebf26 100644 --- a/lib/libutil/login_cap.c +++ b/lib/libutil/login_cap.c @@ -172,9 +172,10 @@ login_close(login_cap_t * lc) * login_getclassbyname() get the login class by its name. * If the name given is NULL or empty, the default class * LOGIN_DEFCLASS (ie. "default") is fetched. If the - * 'dir' argument contains a non-NULL non-empty string, - * then the file _FILE_LOGIN_CONF is picked up from that - * directory instead of the system login database. + * 'pwd' argument is non-NULL and contains an non-NULL + * dir entry, then the file _FILE_LOGIN_CONF is picked + * up from that directory and used before the system + * login database. * Return a filled-out login_cap_t structure, including * class name, and the capability record buffer. */ |