summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshpty.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-07-22 21:32:27 +0000
committermarkus <markus@openbsd.org>2001-07-22 21:32:27 +0000
commit840dc03ec49fb9933e7943b6fc6134e328529bfd (patch)
treef37486ff4ebdd9372b8403e82dcb293deeb96414 /usr.bin/ssh/sshpty.c
parentFix times vs timed typo. Closes PR #1952. (diff)
downloadwireguard-openbsd-840dc03ec49fb9933e7943b6fc6134e328529bfd.tar.xz
wireguard-openbsd-840dc03ec49fb9933e7943b6fc6134e328529bfd.zip
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,