From bb874727d6ecc0314a6d7260d51362379741a86b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20Fran=C3=A7ois?= Date: Tue, 20 Aug 2013 00:31:37 +0200 Subject: [PATCH] Fix typos. * src/su.c: Fix typos. --- ChangeLog | 4 ++++ src/su.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 05a42f22f..9fab5f41a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-08-19 Nicolas François + + * src/su.c: Fix typos. + 2013-08-19 Nicolas François * src/su.c: ret is only used in case of PAM. diff --git a/src/su.c b/src/su.c index bad82ee8b..e96336f82 100644 --- a/src/su.c +++ b/src/su.c @@ -346,7 +346,7 @@ static void handle_session (void) close (fd_ptmx); if (tcsetattr (fd_pts, TCSANOW, &termset_save) == -1) { - fprintf (stderr, _("%s: Cannot set set termios attributes of sessiont\n"), Prog); + fprintf (stderr, _("%s: Cannot set termios attributes of session\n"), Prog); (void) close (fd_pts); exit (1); } @@ -382,7 +382,7 @@ static void handle_session (void) } } - return; /* Only the child will return from pam_create_session */ + return; /* Only the child will return from handle_session */ } else if ((pid_t)-1 == pid_child) { (void) fprintf (stderr, _("%s: Cannot fork user shell\n"), -- 2.47.2