From: Nicolas François Date: Mon, 19 Aug 2013 22:31:37 +0000 (+0200) Subject: Fix typos. X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=bb874727d6ecc0314a6d7260d51362379741a86b;p=thirdparty%2Fshadow.git Fix typos. * src/su.c: Fix typos. --- 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"),