From: Todd C. Miller Date: Wed, 10 Sep 2014 11:57:31 +0000 (-0600) Subject: Fix compilation on systems without openpty(), _getpty() or grantpt(). X-Git-Tag: SUDO_1_8_11^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1fe802f080222e012d94ca49e1a6766fbb2f55e;p=sudo Fix compilation on systems without openpty(), _getpty() or grantpt(). From Vasilyy Balyasnyy --- diff --git a/src/get_pty.c b/src/get_pty.c index 872edce51..e6a6b1698 100644 --- a/src/get_pty.c +++ b/src/get_pty.c @@ -193,6 +193,6 @@ get_pty(int *master, int *slave, char *name, size_t namesz, uid_t ttyuid) } } done: - debug_return(rval); + debug_return_bool(rval); } #endif /* HAVE_OPENPTY */