summaryrefslogtreecommitdiff
path: root/network/hping3/patches/spelling.diff
blob: 7b6c2aa1d7925b285a7bde664a0e6f025be0922a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Various spelling fixes.

--- hping3-3.a2.ds1.orig/antigetopt.c
+++ hping3-3.a2.ds1/antigetopt.c
@@ -142,7 +142,7 @@
 #define UNK_LONG_ERRSTRING "unrecognized option `--%s'\n"
 #define ARG_SHORT_ERRSTRING "option requires an argument -- %c\n"
 #define ARG_LONG_ERRSTRING "option `--%s' requires an argument\n"
-#define AMB_ERRSTRING "option `--%s' is ambiguos\n"
+#define AMB_ERRSTRING "option `--%s' is ambiguous\n"
 #define IERR_ERRSTRING "internal error. ago_gnu_error() called with " \
 			   "a bad error code (%d)\n"
 void ago_gnu_error(char *pname, int error)
--- hping3-3.a2.ds1.orig/statistics.c
+++ hping3-3.a2.ds1/statistics.c
@@ -30,7 +30,7 @@
 			lossrate = 100;
 
 	fprintf(stderr, "\n--- %s hping statistic ---\n", targetname);
-	fprintf(stderr, "%d packets tramitted, %d packets received, "
+	fprintf(stderr, "%d packets transmitted, %d packets received, "
 			"%d%% packet loss\n", sent_pkt, recv_pkt, lossrate);
 	if (out_of_sequence_pkt)
 		fprintf(stderr, "%d out of sequence packets received\n",