diff options
author | Diomidis Spinellis <dds@FreeBSD.org> | 2004-05-11 11:05:26 +0000 |
---|---|---|
committer | Diomidis Spinellis <dds@FreeBSD.org> | 2004-05-11 11:05:26 +0000 |
commit | 04f152c2c02895d10620868a6c6ebcd7bd5d4e49 (patch) | |
tree | c0cb7ea662e0de1606b67d6f1812626903484dfd /libutil/login_cap.c | |
parent | 5ffde179759fa40f1316d3add2303ad5518b93bf (diff) | |
download | pw-darwin-04f152c2c02895d10620868a6c6ebcd7bd5d4e49.tar.gz pw-darwin-04f152c2c02895d10620868a6c6ebcd7bd5d4e49.tar.zst pw-darwin-04f152c2c02895d10620868a6c6ebcd7bd5d4e49.zip |
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 'libutil/login_cap.c')
-rw-r--r-- | libutil/login_cap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libutil/login_cap.c b/libutil/login_cap.c index ad1dacb..50ebf26 100644 --- a/libutil/login_cap.c +++ b/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. */ |