=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshpty.c,v retrieving revision 1.7.2.2 retrieving revision 1.8 diff -u -r1.7.2.2 -r1.8 --- src/usr.bin/ssh/sshpty.c 2003/09/16 21:20:29 1.7.2.2 +++ src/usr.bin/ssh/sshpty.c 2003/02/03 08:56:16 1.8 @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshpty.c,v 1.7.2.2 2003/09/16 21:20:29 brad Exp $"); +RCSID("$OpenBSD: sshpty.c,v 1.8 2003/02/03 08:56:16 markus Exp $"); #include #include "sshpty.h" @@ -181,7 +181,7 @@ error("chmod %.100s 0666 failed: %.100s", ttyname, strerror(errno)); } -/* Makes the tty the process's controlling tty and sets it to sane modes. */ +/* Makes the tty the processes controlling tty and sets it to sane modes. */ void pty_make_controlling_tty(int *ttyfd, const char *ttyname) @@ -290,10 +290,10 @@ if (errno == EROFS && (st.st_mode & (S_IRGRP | S_IROTH)) == 0) debug("chmod(%.100s, 0%o) failed: %.100s", - ttyname, (u_int)mode, strerror(errno)); + ttyname, mode, strerror(errno)); else fatal("chmod(%.100s, 0%o) failed: %.100s", - ttyname, (u_int)mode, strerror(errno)); + ttyname, mode, strerror(errno)); } } }