diff options
Diffstat (limited to 'security/sudosh/files/patch-src::sudosh.c')
-rw-r--r-- | security/sudosh/files/patch-src::sudosh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/sudosh/files/patch-src::sudosh.c b/security/sudosh/files/patch-src::sudosh.c index 8e65ebccc460..7f6da6fe8f0e 100644 --- a/security/sudosh/files/patch-src::sudosh.c +++ b/security/sudosh/files/patch-src::sudosh.c @@ -44,7 +44,7 @@ +#endif perror ("Cannot open cloning master pty"); return -1; -+#ifdef __FreeBSD ++#ifndef __FreeBSD__ } +#endif } @@ -54,7 +54,7 @@ (void) grantpt (p->mfd); +#endif -+#ifndef __FreeBSD ++#ifndef __FreeBSD__ sname = (char *) ptsname (p->mfd); +#endif |