From 9706b4c5087aaa4721a3bd217c01fa3c459d139f Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 17 Aug 2010 09:51:12 -0400 Subject: [PATCH] Fix typo that prevented compilation on Irix; Friedrich Haubensak --- src/get_pty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/get_pty.c b/src/get_pty.c index 72873a0fb..dafe30c35 100644 --- a/src/get_pty.c +++ b/src/get_pty.c @@ -79,7 +79,7 @@ get_pty(int *master, int *slave, char *name, size_t namesz, uid_t ttyuid) char *line; /* IRIX-style dynamic ptys (may fork) */ - line = _getpty(master, O_RDWR, IRUSR|S_IWUSR|S_IWGRP, 0); + line = _getpty(master, O_RDWR, S_IRUSR|S_IWUSR|S_IWGRP, 0); if (line == NULL) return (0); *slave = open(line, O_RDWR|O_NOCTTY, 0); -- 2.40.0