From d1fe802f080222e012d94ca49e1a6766fbb2f55e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 10 Sep 2014 05:57:31 -0600 Subject: [PATCH] Fix compilation on systems without openpty(), _getpty() or grantpt(). From Vasilyy Balyasnyy --- 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 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 */ -- 2.40.0