summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/session.c b/session.c
index 5e6627cb0..7863aa15f 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,7 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.187 2005/10/10 10:23:08 djm Exp $"); 36RCSID("$OpenBSD: session.c,v 1.188 2005/10/30 08:52:17 djm Exp $");
37 37
38#include "ssh.h" 38#include "ssh.h"
39#include "ssh1.h" 39#include "ssh1.h"
@@ -1419,7 +1419,7 @@ child_close_fds(void)
1419 endpwent(); 1419 endpwent();
1420 1420
1421 /* 1421 /*
1422 * Close any extra open file descriptors so that we don\'t have them 1422 * Close any extra open file descriptors so that we don't have them
1423 * hanging around in clients. Note that we want to do this after 1423 * hanging around in clients. Note that we want to do this after
1424 * initgroups, because at least on Solaris 2.3 it leaves file 1424 * initgroups, because at least on Solaris 2.3 it leaves file
1425 * descriptors open. 1425 * descriptors open.
@@ -1554,7 +1554,7 @@ do_child(Session *s, const char *command)
1554 } 1554 }
1555#endif 1555#endif
1556 1556
1557 /* Change current directory to the user\'s home directory. */ 1557 /* Change current directory to the user's home directory. */
1558 if (chdir(pw->pw_dir) < 0) { 1558 if (chdir(pw->pw_dir) < 0) {
1559 fprintf(stderr, "Could not chdir to home directory %s: %s\n", 1559 fprintf(stderr, "Could not chdir to home directory %s: %s\n",
1560 pw->pw_dir, strerror(errno)); 1560 pw->pw_dir, strerror(errno));