diff --git a/lib/pam_start.c b/lib/pam_start.c index 235d19e..a032069 100644 --- a/lib/pam_start.c +++ b/lib/pam_start.c @@ -137,8 +137,7 @@ _pam_add_module(pam_handle_t *pamh, * details of the module cache and linker API from this file. */ if ((module->dlh = dlopen(modpath, RTLD_NOW)) == NULL) { - openpam_log(PAM_LOG_ERROR, "%s: dlopen(): %s", - modpath, dlerror()); + openpam_log(PAM_LOG_ERROR, "dlopen(): %s", dlerror()); free(module->modpath); free(module); return (PAM_OPEN_ERR);