summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multi_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/multi_auth.c b/multi_auth.c
index 270e773..f17fbf3 100644
--- a/multi_auth.c
+++ b/multi_auth.c
@@ -50,7 +50,7 @@ static int multi_auth_init(pam_handle_t *pamh, int flags,
if (mod->dl_handler == NULL) {
fprintf(stderr, "%s: %m\n", mod->path);
- return PAM_SYSTEM_ERR;
+ return PAM_OPEN_ERR;
}
mod->args.callback = dlsym(mod->dl_handler, mod->symbol);