Index: sshpty.c
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/sshpty.c,v
retrieving revision 1.43
diff -u -p -r1.43 sshpty.c
--- sshpty.c	5 Aug 2006 02:39:41 -0000	1.43
+++ sshpty.c	16 Aug 2006 11:07:26 -0000
@@ -69,6 +69,8 @@ pty_allocate(int *ptyfd, int *ttyfd, cha
 	if (!name)
 		fatal("openpty returns device for which ttyname fails.");
 
+	error("openpty returned %d descriptors %d/%d name %s", i, *ptyfd,
+	    *ttyfd, name);
 	strlcpy(namebuf, name, namebuflen);	/* possible truncation */
 	return 1;
 }
