summaryrefslogtreecommitdiff
path: root/networking/telnetd.c
diff options
context:
space:
mode:
authorMike Frysinger2006-05-10 15:59:07 +0000
committerMike Frysinger2006-05-10 15:59:07 +0000
commit62ec21d0cf37f64984b0cec4129b72402af10e5a (patch)
tree57c944cb9803d7b279763eaa5ff5663dd3b18276 /networking/telnetd.c
parent731f81cbed87db586474582bae1236853abc22ef (diff)
downloadbusybox-62ec21d0cf37f64984b0cec4129b72402af10e5a.zip
busybox-62ec21d0cf37f64984b0cec4129b72402af10e5a.tar.gz
touchup whitespace/english a bit more
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r--networking/telnetd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 534af96..f2ca287 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -298,9 +298,8 @@ make_new_session(int sockfd)
send_iac(ts, WILL, TELOPT_ECHO);
send_iac(ts, WILL, TELOPT_SGA);
-
if ((pid = fork()) < 0) {
- syslog(LOG_ERR, "Can`t forking");
+ syslog(LOG_ERR, "Could not fork");
}
if (pid == 0) {
/* In child, open the child's side of the tty. */
@@ -314,7 +313,7 @@ make_new_session(int sockfd)
if (open(tty_name, O_RDWR /*| O_NOCTTY*/) < 0) {
syslog(LOG_ERR, "Could not open tty");
exit(1);
- }
+ }
dup(0);
dup(0);