Changeset 12 in openpam


Ignore:
Timestamp:
Feb 1, 2002, 9:33:58 PM (17 years ago)
Author:
Dag-Erling Smørgrav
Message:

It turns out dlerror() already includes the module's full path
in the error message. Avoid logging it twice.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_start.c

    r10 r12  
    138138         */
    139139        if ((module->dlh = dlopen(modpath, RTLD_NOW)) == NULL) {
    140                 openpam_log(PAM_LOG_ERROR, "%s: dlopen(): %s",
    141                     modpath, dlerror());
     140                openpam_log(PAM_LOG_ERROR, "dlopen(): %s", dlerror());
    142141                free(module->modpath);
    143142                free(module);
Note: See TracChangeset for help on using the changeset viewer.