summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gatchat/gatppp.c2
-rw-r--r--gatchat/gsmdial.c2
-rw-r--r--gatchat/test-server.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index 63508b57..5e875b8a 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -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 */
};
diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c
index 9aa2f79b..57d0d9e9 100644
--- a/gatchat/gsmdial.c
+++ b/gatchat/gsmdial.c
@@ -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;
}
diff --git a/gatchat/test-server.c b/gatchat/test-server.c
index 49012dc3..c405f41c 100644
--- a/gatchat/test-server.c
+++ b/gatchat/test-server.c
@@ -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;
}