[BACK]Return to sshpty.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshpty.c between version 1.6 and 1.7

version 1.6, 2002/06/23 21:06:13 version 1.7, 2002/06/24 17:57:20
Line 276 
Line 276 
                         if (errno == EROFS &&                          if (errno == EROFS &&
                             (st.st_uid == pw->pw_uid || st.st_uid == 0))                              (st.st_uid == pw->pw_uid || st.st_uid == 0))
                                 error("chown(%.100s, %u, %u) failed: %.100s",                                  error("chown(%.100s, %u, %u) failed: %.100s",
                                     ttyname, pw->pw_uid, gid,                                      ttyname, (u_int)pw->pw_uid, (u_int)gid,
                                     strerror(errno));                                      strerror(errno));
                         else                          else
                                 fatal("chown(%.100s, %u, %u) failed: %.100s",                                  fatal("chown(%.100s, %u, %u) failed: %.100s",
                                     ttyname, pw->pw_uid, gid,                                      ttyname, (u_int)pw->pw_uid, (u_int)gid,
                                     strerror(errno));                                      strerror(errno));
                 }                  }
         }          }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7