summaryrefslogtreecommitdiffstats
path: root/security/sudosh3/files/patch-src::sudosh.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/sudosh3/files/patch-src::sudosh.c')
-rw-r--r--security/sudosh3/files/patch-src::sudosh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/sudosh3/files/patch-src::sudosh.c b/security/sudosh3/files/patch-src::sudosh.c
index 8e65ebc..7f6da6f 100644
--- a/security/sudosh3/files/patch-src::sudosh.c
+++ b/security/sudosh3/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
OpenPOWER on IntegriCloud