diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cerberus.h | 2 | ||||
-rw-r--r-- | src/pam.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cerberus.h b/src/cerberus.h index 695d64c..38d9acb 100644 --- a/src/cerberus.h +++ b/src/cerberus.h @@ -39,7 +39,7 @@ #include "quit.h" #include "login.h" #include "security.h" -#include "parm.h" +#include "pam.h" #ifndef USE_TTY_GROUP @@ -72,6 +72,6 @@ void initialise_pam(char* remote, char* username) } do_pam(pam_set_item(handle, PAM_RHOST, remote ?: "localhost")); - do_pam(pam_set_item(handle, PAM_TTY, ttyname(STDIN_FILENO) ?: "(none)"); + do_pam(pam_set_item(handle, PAM_TTY, ttyname(STDIN_FILENO) ?: "(none)")); } |