Fix typo that prevented compilation on Irix; Friedrich Haubensak

This commit is contained in:
Todd C. Miller
2010-08-17 09:51:12 -04:00
parent f454727bb8
commit 9706b4c508

View File

@@ -79,7 +79,7 @@ get_pty(int *master, int *slave, char *name, size_t namesz, uid_t ttyuid)
char *line; char *line;
/* IRIX-style dynamic ptys (may fork) */ /* 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) if (line == NULL)
return (0); return (0);
*slave = open(line, O_RDWR|O_NOCTTY, 0); *slave = open(line, O_RDWR|O_NOCTTY, 0);