From f37c7f6c4d7f7fe1e8dc72ac9636cfb3b3259f98 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 17 Aug 2010 09:49:59 -0400 Subject: [PATCH] Fix typos that prevented compilation on Irix; Friedrich Haubensak --HG-- branch : 1.7 --- boottime.c | 2 +- get_pty.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boottime.c b/boottime.c index 7c0410c70..607cf74a7 100644 --- a/boottime.c +++ b/boottime.c @@ -141,7 +141,7 @@ get_boottime(tv) int get_boottime(tv) - struct timeval *tv + struct timeval *tv; { return 0; } diff --git a/get_pty.c b/get_pty.c index e271bf26e..236de6e6d 100644 --- a/get_pty.c +++ b/get_pty.c @@ -91,7 +91,7 @@ get_pty(master, slave, name, namesz, 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