]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Fix typos.
authorNicolas François <nicolas.francois@centraliens.net>
Mon, 19 Aug 2013 22:31:37 +0000 (00:31 +0200)
committerNicolas François <nicolas.francois@centraliens.net>
Mon, 19 Aug 2013 22:31:37 +0000 (00:31 +0200)
* src/su.c: Fix typos.

ChangeLog
src/su.c

index 05a42f22f3ab007af3a1edfe70357da0878d84dc..9fab5f41a73dece118287e285c1a9eebb0761de7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-08-19  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/su.c: Fix typos.
+
 2013-08-19  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/su.c: ret is only used in case of PAM.
index bad82ee8b5e9e01fd2a09fe5596f7a997592464b..e96336f829abc8dcad36a9bb430ad2647721f5da 100644 (file)
--- 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"),