Changeset 661 in openpam for trunk/lib


Ignore:
Timestamp:
Mar 11, 2013, 3:44:22 PM (8 years ago)
Author:
Dag-Erling Smørgrav
Message:

nit: the argument is a module name, which may or may not be a path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/libpam/openpam_load.c

    r648 r661  
    5353
    5454pam_module_t *
    55 openpam_load_module(const char *path)
     55openpam_load_module(const char *modulename)
    5656{
    5757        pam_module_t *module;
    5858
    59         module = openpam_dynamic(path);
     59        module = openpam_dynamic(modulename);
    6060        openpam_log(PAM_LOG_DEBUG, "%s dynamic %s",
    61             (module == NULL) ? "no" : "using", path);
     61            (module == NULL) ? "no" : "using", modulename);
    6262
    6363#ifdef OPENPAM_STATIC_MODULES
     
    6666                module = openpam_static(path);
    6767                openpam_log(PAM_LOG_DEBUG, "%s static %s",
    68                     (module == NULL) ? "no" : "using", path);
     68                    (module == NULL) ? "no" : "using", modulename);
    6969        }
    7070#endif
    7171        if (module == NULL) {
    72                 openpam_log(PAM_LOG_ERROR, "no %s found", path);
     72                openpam_log(PAM_LOG_ERROR, "no %s found", modulename);
    7373                return (NULL);
    7474        }
Note: See TracChangeset for help on using the changeset viewer.