Changeset 661 in openpam for trunk/lib/libpam
- Timestamp:
- Mar 11, 2013, 3:44:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/libpam/openpam_load.c
r648 r661 53 53 54 54 pam_module_t * 55 openpam_load_module(const char * path)55 openpam_load_module(const char *modulename) 56 56 { 57 57 pam_module_t *module; 58 58 59 module = openpam_dynamic( path);59 module = openpam_dynamic(modulename); 60 60 openpam_log(PAM_LOG_DEBUG, "%s dynamic %s", 61 (module == NULL) ? "no" : "using", path);61 (module == NULL) ? "no" : "using", modulename); 62 62 63 63 #ifdef OPENPAM_STATIC_MODULES … … 66 66 module = openpam_static(path); 67 67 openpam_log(PAM_LOG_DEBUG, "%s static %s", 68 (module == NULL) ? "no" : "using", path);68 (module == NULL) ? "no" : "using", modulename); 69 69 } 70 70 #endif 71 71 if (module == NULL) { 72 openpam_log(PAM_LOG_ERROR, "no %s found", path);72 openpam_log(PAM_LOG_ERROR, "no %s found", modulename); 73 73 return (NULL); 74 74 }
Note: See TracChangeset
for help on using the changeset viewer.