summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/pppd/main.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-03 18:28:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-03 18:28:36 +0000
commit0173ab87ab54ce46b7c6a229f7937c8e098e5d6c (patch)
treeb5c7351da0162a78753c790881a285669f8a8a4b /c/src/libnetworking/pppd/main.c
parentPatch from Eric Norum <eric@cls.usask.ca>: (diff)
downloadrtems-0173ab87ab54ce46b7c6a229f7937c8e098e5d6c.tar.bz2
Comments added and some messages translated from Polish.
Diffstat (limited to '')
-rw-r--r--c/src/libnetworking/pppd/main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/c/src/libnetworking/pppd/main.c b/c/src/libnetworking/pppd/main.c
index 7337b0d07d..cfe3d14f30 100644
--- a/c/src/libnetworking/pppd/main.c
+++ b/c/src/libnetworking/pppd/main.c
@@ -273,7 +273,7 @@ char *argv[];
UnlockSTBSystemParam();
#endif
/* initialize DNS services here */
- SetStatusInfo(0, "Nawiązuję połączenie...",0);
+ SetStatusInfo(0, "Connecting...",0);
__res_init();
/*
@@ -330,10 +330,11 @@ char *argv[];
if ((i=connect_script(ttyfd)) >0) {
/* here go error messages ... */
- static char *bledy_ppp[]={"Błędny skrypt","Błąd wejścia/wyjścia","Przekroczenie limitu czasowego","Numer zajęty","Brak sygnału wybierania numeru","Brak sygnału",
- "Brak odpowiedzi","Brak odpowiedzi serwera"};
+ static char *error_msgs[]={ "Bad script", "IO Error"
+ "Timeout", "Busy", "No dialtone", "No carrier",
+ "No answer", "No answer from server" };
setdtr(ttyfd, FALSE);
- sprintf(t,"Połączenie nieudane : %s",bledy_ppp[i-1]);
+ sprintf(t,"Communication error: %s",error_msgs[i-1]);
syslog(LOG_ERR, "Connect script failed");
SetStatusInfo(0, t,1);
goto fail;