aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-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 @@
1/* $Id: telnetd.c,v 1.1 2002/09/30 20:52:04 andersen Exp $ 1/* $Id: telnetd.c,v 1.2 2002/11/10 22:26:19 bug1 Exp $
2 * 2 *
3 * Simple telnet server 3 * Simple telnet server
4 * Bjorn Wesen, Axis Communications AB (bjornw@axis.com) 4 * Bjorn Wesen, Axis Communications AB (bjornw@axis.com)
@@ -156,7 +156,7 @@ static int
156getpty(char *line) 156getpty(char *line)
157{ 157{
158 int p; 158 int p;
159#ifdef HAVE_DEVPTS_FS 159#ifdef CONFIG_FEATURE_DEVPTS
160 p = open("/dev/ptmx", 2); 160 p = open("/dev/ptmx", 2);
161 if (p > 0) { 161 if (p > 0) {
162 grantpt(p); 162 grantpt(p);
@@ -185,7 +185,7 @@ getpty(char *line)
185 } 185 }
186 } 186 }
187 } 187 }
188#endif /* HAVE_DEVPTS_FS */ 188#endif /* CONFIG_FEATURE_DEVPTS */
189 return -1; 189 return -1;
190} 190}
191 191