diff options
Diffstat (limited to 'network/hping3/patches/spelling.diff')
-rw-r--r-- | network/hping3/patches/spelling.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/network/hping3/patches/spelling.diff b/network/hping3/patches/spelling.diff new file mode 100644 index 0000000000..7b6c2aa1d7 --- /dev/null +++ b/network/hping3/patches/spelling.diff @@ -0,0 +1,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", |