Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-11-11 01:26:19 +0300
committerGlenn L McGrath <bug1@ihug.co.nz>2002-11-11 01:26:19 +0300
commitf234e7c755f30cf2cf7f48762370b2bcde76f68f (patch)
treea03a08a6925cb2db4d8eb28715a46ac8a4b70249 /networking/telnetd.c
parente16860df08a8fbc6fb356a35914257b1f85da3c7 (diff)
Config feature DEVPTS defined and used in telnetd, by Pavel Roskin
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r--networking/telnetd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index edc018a2a..d208319a3 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -1,4 +1,4 @@
-/* $Id: telnetd.c,v 1.1 2002/09/30 20:52:04 andersen Exp $
+/* $Id: telnetd.c,v 1.2 2002/11/10 22:26:19 bug1 Exp $
*
* Simple telnet server
* Bjorn Wesen, Axis Communications AB (bjornw@axis.com)
@@ -156,7 +156,7 @@ static int
getpty(char *line)
{
int p;
-#ifdef HAVE_DEVPTS_FS
+#ifdef CONFIG_FEATURE_DEVPTS
p = open("/dev/ptmx", 2);
if (p > 0) {
grantpt(p);
@@ -185,7 +185,7 @@ getpty(char *line)
}
}
}
-#endif /* HAVE_DEVPTS_FS */
+#endif /* CONFIG_FEATURE_DEVPTS */
return -1;
}