diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 20:47:23 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 20:47:23 +0000 |
commit | c88785efc8d38b6093ae21045dc0e8188ec42848 (patch) | |
tree | e375fc3c227fd3b7d567302c4826b43e498ab03f /sshpty.c | |
parent | 2ab5924d1fd11233b50714ef40384a62e1f6740a (diff) |
- markus@cvs.openbsd.org 2001/07/22 21:32:27
[sshpty.c]
update comment
Diffstat (limited to 'sshpty.c')
-rw-r--r-- | sshpty.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: sshpty.c,v 1.2 2001/07/18 21:10:43 markus Exp $"); | 15 | RCSID("$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, |