summaryrefslogtreecommitdiff
path: root/security/sudosh/files/patch-src::sudosh.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2007-01-05 03:30:02 +0000
committerCy Schubert <cy@FreeBSD.org>2007-01-05 03:30:02 +0000
commita686bbe427e141c11516092d3cc7b30c7ad78393 (patch)
tree414cdf9535944a48d5cb8f52ffc75ccefbf10926 /security/sudosh/files/patch-src::sudosh.c
parent- Fix WANT_LUA (broken since autodetection commit). (diff)
Fix errant ifdefs which also fixes build under 4.X.
Submitted by: jkim
Diffstat (limited to '')
-rw-r--r--security/sudosh/files/patch-src::sudosh.c4
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