aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-05-24 23:31:47 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-05-24 23:31:47 +0200
commitcc077ae0bc26257428adb14d913ab28adc181a01 (patch)
tree7ef4e6886fdff9eb4a65102c12db974bb9cff2d4
parent6bf2f05df67e387800debbdfe7a402c72713d10f (diff)
Description: Fix some typos in the man pages and in the binary
-rw-r--r--doc/ggsn.82
-rw-r--r--doc/sgsnemu.82
-rw-r--r--sgsnemu/sgsnemu.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/ggsn.8 b/doc/ggsn.8
index 3b9e903..62d467a 100644
--- a/doc/ggsn.8
+++ b/doc/ggsn.8
@@ -189,7 +189,7 @@ name resolution.
.TP
.BI --timelimit " seconds"
Exit
-.b ggsn
+.B ggsn
after \fIseconds\fP. Used for debugging.
diff --git a/doc/sgsnemu.8 b/doc/sgsnemu.8
index 50502e0..af8f3ff 100644
--- a/doc/sgsnemu.8
+++ b/doc/sgsnemu.8
@@ -329,7 +329,7 @@ indicates infinite.
.TP
.BI --pingquiet
Do not print information for each packet received (default = off). Is
-quite usefull for high pingrates.
+quite useful for high pingrates.
.SH FILES
diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index f3d9ba0..a4d6461 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -592,7 +592,7 @@ int process_options(int argc, char **argv)
mcc = userloc_el[1];
printf("->mcc : %s\n", mcc);
if (strlen(mcc) != 3) {
- printf("Invalid MCC lenght\n");
+ printf("Invalid MCC length\n");
return -1;
}
@@ -611,7 +611,7 @@ int process_options(int argc, char **argv)
a = (uint8_t) (mcc[2] - 48);
if ((strlen(mnc) > 3) || (strlen(mnc) < 2)) {
- printf("Invalid MNC lenght\n");
+ printf("Invalid MNC length\n");
return -1;
}
if (strlen(mnc) == 2) {
@@ -676,7 +676,7 @@ int process_options(int argc, char **argv)
mcc = rai_el[0];
printf("->mcc : %s\n", mcc);
if (strlen(mcc) != 3) {
- printf("Invalid MCC lenght\n");
+ printf("Invalid MCC length\n");
return -1;
}
@@ -692,7 +692,7 @@ int process_options(int argc, char **argv)
a = (uint8_t) (mcc[2] - 48);
if ((strlen(mnc) > 3) || (strlen(mnc) < 2)) {
- printf("Invalid MNC lenght\n");
+ printf("Invalid MNC length\n");
return -1;
}
if (strlen(mnc) == 2) {