From: Todd C. Miller Date: Tue, 17 Aug 2010 13:49:59 +0000 (-0400) Subject: Fix typos that prevented compilation on Irix; Friedrich Haubensak X-Git-Tag: SUDO_1_7_5~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f37c7f6c4d7f7fe1e8dc72ac9636cfb3b3259f98;p=sudo Fix typos that prevented compilation on Irix; Friedrich Haubensak --HG-- branch : 1.7 --- 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);