From 082e0146898c8083a2bd8101a28d9f93cff9df4d Mon Sep 17 00:00:00 2001 From: liaohanqin Date: Tue, 18 Jan 2022 17:14:11 +0800 Subject: Update xsh.c fix: typing error --- examples/xsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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)"); } } -- cgit v1.2.3