From 95de53b08b41f33e7df17ed2325aac4eb08ff17a Mon Sep 17 00:00:00 2001 From: dds Date: Tue, 11 May 2004 11:05:26 +0000 Subject: 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 --- lib/libutil/login_cap.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/libutil/login_cap.c') 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. */ -- cgit v1.1