Fix common misspellings in gatchat

Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspellings:

priviledge->privilege
succeded->succeeded
This commit is contained in:
Lucas De Marchi 2010-09-14 00:06:02 -03:00 committed by Marcel Holtmann
parent 74125ff5d4
commit 53f1e826c6
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ enum ppp_phase {
PPP_PHASE_ESTABLISHMENT, /* LCP started */
PPP_PHASE_AUTHENTICATION, /* Auth started */
PPP_PHASE_NETWORK, /* IPCP started */
PPP_PHASE_LINK_UP, /* IPCP negotiation succeded, link up */
PPP_PHASE_LINK_UP, /* IPCP negotiation succeeded, link up */
PPP_PHASE_TERMINATION, /* LCP Terminate phase */
};

View File

@ -250,7 +250,7 @@ static void ppp_connect(const char *iface, const char *local, const char *peer,
g_print("Secondary DNS Server: %s\n", dns2);
if (getuid() != 0) {
g_print("Need root priviledge to config PPP interface\n");
g_print("Need root privilege to config PPP interface\n");
return;
}

View File

@ -159,7 +159,7 @@ static gboolean setup_ppp(gpointer user)
GAtIO *io;
if (getuid() != 0) {
g_print("Need root priviledge for PPP connection\n");
g_print("Need root privilege for PPP connection\n");
return FALSE;
}