Return to sshpty.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.32, 2019/06/28 13:35:04 | version 1.33, 2019/07/04 16:16:51 | ||
---|---|---|---|
|
|
||
* Warn but continue if filesystem is read-only and the uids match/ | * Warn but continue if filesystem is read-only and the uids match/ | ||
* tty is owned by root. | * tty is owned by root. | ||
*/ | */ | ||
if (stat(tty, &st)) | if (stat(tty, &st) == -1) | ||
fatal("stat(%.100s) failed: %.100s", tty, | fatal("stat(%.100s) failed: %.100s", tty, | ||
strerror(errno)); | strerror(errno)); | ||