Changeset 664 in openpam


Ignore:
Timestamp:
Mar 17, 2013, 10:56:15 AM (8 years ago)
Author:
Dag-Erling Smørgrav
Message:

unbreak static linking

File:
1 edited

Legend:

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

    r661 r664  
    6363#ifdef OPENPAM_STATIC_MODULES
    6464        /* look for a static module */
    65         if (module == NULL && strchr(path, '/') == NULL) {
    66                 module = openpam_static(path);
     65        if (module == NULL && strchr(modulename, '/') == NULL) {
     66                module = openpam_static(modulename);
    6767                openpam_log(PAM_LOG_DEBUG, "%s static %s",
    6868                    (module == NULL) ? "no" : "using", modulename);
Note: See TracChangeset for help on using the changeset viewer.