summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorliaohanqin <liaohanqin@gmail.com>2022-01-18 17:14:11 +0800
committerTomáš Mráz <tm@t8m.info>2022-01-18 11:17:55 +0100
commit082e0146898c8083a2bd8101a28d9f93cff9df4d (patch)
treebfeef45988ab79a3bb52145c15fac71206a09abb /examples
parent3102dd822db3e613308c05fca554ced5e81c181d (diff)
downloadlinux-pam-git-082e0146898c8083a2bd8101a28d9f93cff9df4d.tar.gz
Update xsh.c
fix: typing error
Diffstat (limited to 'examples')
-rw-r--r--examples/xsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xsh.c b/examples/xsh.c
index ef4dca0c..5b34fc17 100644
--- a/examples/xsh.c
+++ b/examples/xsh.c
@@ -80,7 +80,7 @@ int main(int argc, char **argv)
tty = ttyname(fileno(stdin));
if (tty) {
retcode = pam_set_item(pamh, PAM_TTY, tty);
- bail_out(pamh,1,retcode,"pam_set_item(PAM_RHOST)");
+ bail_out(pamh,1,retcode,"pam_set_item(PAM_TTY)");
}
}