aboutsummaryrefslogtreecommitdiffstats
path: root/src/pam.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-20 18:53:05 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-20 18:53:05 +0100
commitf0793aed8c6bc2ca3032809e7bc744fc87835fd7 (patch)
treed56c23549c42d6791f90135684ae3caa8a8f3337 /src/pam.c
parentm (diff)
downloadlibpassphrase-f0793aed8c6bc2ca3032809e7bc744fc87835fd7.tar.gz
libpassphrase-f0793aed8c6bc2ca3032809e7bc744fc87835fd7.tar.bz2
libpassphrase-f0793aed8c6bc2ca3032809e7bc744fc87835fd7.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam.c b/src/pam.c
index d876d9c..dcf9598 100644
--- a/src/pam.c
+++ b/src/pam.c
@@ -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)"));
}