summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshpty.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-07-22 21:32:28 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-07-22 21:32:28 +0000
commitcb8cb86ca6a71ae50d7102b3b6ceddec5ca9e5ab (patch)
treeeb6424765722250511891830d7c21bce1f2a8c12 /usr.bin/ssh/sshpty.c
parent3ca497b9a73d4598e28223c1bc6280650c638673 (diff)
update comment
Diffstat (limited to 'usr.bin/ssh/sshpty.c')
-rw-r--r--usr.bin/ssh/sshpty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshpty.c b/usr.bin/ssh/sshpty.c
index bfd6653d334..ef47fe4394c 100644
--- a/usr.bin/ssh/sshpty.c
+++ b/usr.bin/ssh/sshpty.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshpty.c,v 1.2 2001/07/18 21:10:43 markus Exp $");
+RCSID("$OpenBSD: sshpty.c,v 1.3 2001/07/22 21:32:27 markus Exp $");
#include <util.h>
#include "sshpty.h"
@@ -264,7 +264,8 @@ pty_setowner(struct passwd *pw, const char *ttyname)
/*
* Change owner and mode of the tty as required.
- * 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.
*/
if (stat(ttyname, &st))
fatal("stat(%.100s) failed: %.100s", ttyname,