summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 03:14:45 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 03:14:45 +0000
commit1ee9ec32a36e6692dd619e784248768bdd5f853e (patch)
tree71f6ca979cc6c9d1a9cd5374e0ba6067ad381853 /sshd.c
parentc7431341911e911993776c357ca57d1fb7ed1b23 (diff)
- markus@cvs.openbsd.org 2002/03/21 10:21:20
[ssh-add.c] ignore errors for nonexisting default keys in ssh-add, fixes http://bugzilla.mindrot.org/show_bug.cgi?id=158
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index dc109815..26124b77 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.235 2002/03/20 19:12:25 stevesk Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.236 2002/03/20 21:08:08 stevesk Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@@ -543,7 +543,7 @@ privsep_preauth_child(void)
fatal("chroot(\"%s\"): %s", _PATH_PRIVSEP_CHROOT_DIR,
strerror(errno));
if (chdir("/") == -1)
- fatal("chdir(/)");
+ fatal("chdir(\"/\"): %s", strerror(errno));
/* Drop our privileges */
debug3("privsep user:group %u:%u", (u_int)pw->pw_uid,