diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-12-15 23:26:31 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-12-15 23:26:31 +0100 |
commit | 8bfe1dd9c7d76ef0f953f41ffc306596a55c732c (patch) | |
tree | a0cfd1520c9df0e91fd760fbdcedb5c95a12e591 | |
parent | b695b9b51ec0559b7023855f1f87e0ef04723e66 (diff) |
a constant is defined for that purpose, use it
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
-rw-r--r-- | multi_auth.c | 2 |
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); |