summaryrefslogtreecommitdiff
path: root/sshpty.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-08-06 20:47:23 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-08-06 20:47:23 +0000
commitc88785efc8d38b6093ae21045dc0e8188ec42848 (patch)
treee375fc3c227fd3b7d567302c4826b43e498ab03f /sshpty.c
parent2ab5924d1fd11233b50714ef40384a62e1f6740a (diff)
- markus@cvs.openbsd.org 2001/07/22 21:32:27
[sshpty.c] update comment
Diffstat (limited to 'sshpty.c')
-rw-r--r--sshpty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshpty.c b/sshpty.c
index 6f97f38ed..71e16b79e 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: sshpty.c,v 1.2 2001/07/18 21:10:43 markus Exp $"); 15RCSID("$OpenBSD: sshpty.c,v 1.3 2001/07/22 21:32:27 markus Exp $");
16 16
17#ifdef HAVE_UTIL_H 17#ifdef HAVE_UTIL_H
18# include <util.h> 18# include <util.h>
@@ -313,7 +313,8 @@ pty_setowner(struct passwd *pw, const char *ttyname)
313 313
314 /* 314 /*
315 * Change owner and mode of the tty as required. 315 * Change owner and mode of the tty as required.
316 * Warn but continue if filesystem is read-only and the uids match. 316 * Warn but continue if filesystem is read-only and the uids match/
317 * tty is owned by root.
317 */ 318 */
318 if (stat(ttyname, &st)) 319 if (stat(ttyname, &st))
319 fatal("stat(%.100s) failed: %.100s", ttyname, 320 fatal("stat(%.100s) failed: %.100s", ttyname,