You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.4 KiB

  1. Subject: Various spelling fixes.
  2. Author: Romain Francoise <rfrancoise@debian.org>
  3. Last-Updated: 2020-09-06
  4. --- a/antigetopt.c
  5. +++ b/antigetopt.c
  6. @@ -142,7 +142,7 @@ chain_start:
  7. #define UNK_LONG_ERRSTRING "unrecognized option `--%s'\n"
  8. #define ARG_SHORT_ERRSTRING "option requires an argument -- %c\n"
  9. #define ARG_LONG_ERRSTRING "option `--%s' requires an argument\n"
  10. -#define AMB_ERRSTRING "option `--%s' is ambiguos\n"
  11. +#define AMB_ERRSTRING "option `--%s' is ambiguous\n"
  12. #define IERR_ERRSTRING "internal error. ago_gnu_error() called with " \
  13. "a bad error code (%d)\n"
  14. void ago_gnu_error(char *pname, int error)
  15. --- a/statistics.c
  16. +++ b/statistics.c
  17. @@ -30,7 +30,7 @@ void print_statistics(int signal_id)
  18. lossrate = 100;
  19. fprintf(stderr, "\n--- %s hping statistic ---\n", targetname);
  20. - fprintf(stderr, "%d packets tramitted, %d packets received, "
  21. + fprintf(stderr, "%d packets transmitted, %d packets received, "
  22. "%d%% packet loss\n", sent_pkt, recv_pkt, lossrate);
  23. if (out_of_sequence_pkt)
  24. fprintf(stderr, "%d out of sequence packets received\n",
  25. --- a/ars.c
  26. +++ b/ars.c
  27. @@ -361,7 +361,7 @@ void *ars_add_data(struct ars_packet *pk
  28. static void *ptr = "zzappt"; /* we can't return NULL for size == 0 */
  29. if (size < 0) {
  30. - ars_set_error(pkt, "Tryed to add a DATA layer with size < 0");
  31. + ars_set_error(pkt, "Tried to add a DATA layer with size < 0");
  32. return NULL;
  33. }
  34. retval = ars_add_generic(pkt, size, ARS_TYPE_DATA);