]> granicus.if.org Git - sudo/commitdiff
Fix compilation on systems without openpty(), _getpty() or grantpt().
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 10 Sep 2014 11:57:31 +0000 (05:57 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 10 Sep 2014 11:57:31 +0000 (05:57 -0600)
From Vasilyy Balyasnyy

src/get_pty.c

index 872edce51d9d815e8a103d3901b6d3d084194f57..e6a6b1698ff4df7c43e1eed54ec037aaabec657a 100644 (file)
@@ -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 */