From cb8cb86ca6a71ae50d7102b3b6ceddec5ca9e5ab Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Sun, 22 Jul 2001 21:32:28 +0000 Subject: update comment --- usr.bin/ssh/sshpty.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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 #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, -- cgit v1.2.3