summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-08-27 12:25:22 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-08-29 12:12:09 +0400
commit36cc9c11a194be371dad562df8b2eff548586749 (patch)
tree8333a0a8cf6769790a9ec306c964c3a372c4d7c1 /accel-pppd/ppp/ppp.c
parentebbd6f580322767983ebf6b4049924d7e2de642f (diff)
downloadaccel-ppp-36cc9c11a194be371dad562df8b2eff548586749.tar.gz
accel-ppp-36cc9c11a194be371dad562df8b2eff548586749.zip
fix various typos
Diffstat (limited to 'accel-pppd/ppp/ppp.c')
-rw-r--r--accel-pppd/ppp/ppp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ppp/ppp.c b/accel-pppd/ppp/ppp.c
index 9a00667..116e134 100644
--- a/accel-pppd/ppp/ppp.c
+++ b/accel-pppd/ppp/ppp.c
@@ -126,7 +126,7 @@ int __export establish_ppp(struct ppp_t *ppp)
}
if (fcntl(ppp->unit_fd, F_SETFL, O_NONBLOCK)) {
- log_ppp_error("ppp: cann't to set nonblocking mode: %s\n", strerror(errno));
+ log_ppp_error("ppp: cannot set nonblocking mode: %s\n", strerror(errno));
goto exit_close_unit;
}
}
@@ -137,7 +137,7 @@ int __export establish_ppp(struct ppp_t *ppp)
}
if (fcntl(ppp->chan_fd, F_SETFL, O_NONBLOCK)) {
- log_ppp_error("ppp: cann't to set nonblocking mode: %s\n", strerror(errno));
+ log_ppp_error("ppp: cannot set nonblocking mode: %s\n", strerror(errno));
goto exit_close_unit;
}