spelling corrections
authorDmitry Smirnov <onlyjob@member.fsf.org>
Sun, 1 Dec 2019 11:16:03 +0000 (11:16 +0000)
committerDmitry Smirnov <onlyjob@debian.org>
Sun, 1 Dec 2019 11:16:03 +0000 (11:16 +0000)
Gbp-Pq: Name 0001-spelling-corrections.patch

README.md
src/lookup.c
src/lookup.h
src/lookup_kas.c
src/main.c

index 5379842cc0e897de58ecad1f8d9b0d50067d7f5b..78ee19c1127d52deedb2986b9fe30b3fe778809c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ Dropwatch is a project I started in an effort to improve the ability for
 developers and system administrator to diagnose problems in the Linux Networking
 stack, specifically in our ability to diagnose where packets are getting
 dropped.  From my probing, I've come to the conclusion that there are four main
-shortcommings in our current environment:
+shortcomings in our current environment:
 
 1) Consolidation, or lack thereof.  Currently, if you would like to check on the
 status of dropped packets in the kernel, you need to check at least 3 places,
@@ -29,11 +29,11 @@ dropped packets are not always clear.  Does a UDPInError mean the application
 receive buffer was full, or does it mean its checksum was bad?  Dropwatch
 attempts to disambiguate the causes for dropped packets.
 
-4) Performance.  Utilties can be written to aggregate the data in the various
+4) Performance.  Utilities can be written to aggregate the data in the various
 other utilities to solve some of these problems, but such solutions require
 periodic polling of several interfaces, which is far from optimal, especially
 when lost packets are rare.  This solution improves on the performance aspect by
-implementing a kernel feature which allows asyncronous notification of dropped
+implementing a kernel feature which allows asynchronous notification of dropped
 packets when they happen.
 
 Building Dropwatch
index ba54991739837d77a8a7aa6b0e88eee838dddb5b..2fce5de468e6693599ac132c7de035d81ae20db4 100644 (file)
@@ -20,7 +20,7 @@
 /*
  * This is a translator.  given an input address, this will convert it into a
  * function and offset.  Unless overridden, it will automatically determine
- * tranlations using the following methods, in order of priority:
+ * translations using the following methods, in order of priority:
  * 1) /usr/lib/debug/<kernel version> using libbfd
  * 2) /proc/kallsyms
  */
@@ -40,7 +40,7 @@ extern struct lookup_methods kallsym_methods;
 
 static int lookup_null_init(void)
 {
-       printf("Initalizing null lookup method\n");
+       printf("Initializing null lookup method\n");
        return 0;
 }
 
index e6568d8b94457e78a6b2ad759cfe90a67b1db113..9e0556150db69ad769a5b11a2eb2d08b5c0eee7c 100644 (file)
@@ -20,7 +20,7 @@
 /*
  * This is a translator.  given an input address, this will convert it into a
  * function and offset.  Unless overridden, it will automatically determine
- * tranlations using the following methods, in order of priority:
+ * translations using the following methods, in order of priority:
  * 1) /usr/lib/debug/<kernel version> using libbfd
  * 2) /proc/kallsyms
  */
@@ -30,7 +30,7 @@
 
 
 /*
- * Initalization routine
+ * Initialization routine
  * INPUTS:
  *   method - enum describing how to do translation
  *          * METHOD_NULL : Just print pc values, not symbols
@@ -38,8 +38,8 @@
  *          * METHOD_DEBUGINFO : use debuginfo package
  *          * METHOD_KALLSYMS : use /proc/kallsyms
  *   returns:
- *          * 0   : initalization succeded
- *          * < 0 : initalization failed
+ *          * 0   : initialization succeeded
+ *          * < 0 : initialization failed
  */
 typedef enum {
        METHOD_NULL = 0,
index 5e05630284071c396ba43956c348336b26cba1e0..73f1eb52b44b3fb01e473a0d793cf518f53bcd9e 100644 (file)
@@ -137,7 +137,7 @@ static int lookup_kas_proc(__u64 pc, struct loc_result *location)
 
 static int lookup_kas_init(void)
 {
-       printf("Initalizing kallsyms db\n");
+       printf("Initializing kallsyms db\n");
        
        return 0;
 }
index c8f08c7b1fa6f189de9c1a1d04354b02a0e5abcd..7a22466052a762b8828d44e731e5bd13af25a235 100644 (file)
@@ -43,7 +43,7 @@
 #include "lookup.h"
 
 /*
- * This is just in place until the kernel changes get comitted
+ * This is just in place until the kernel changes get committed
  */
 #ifndef NETLINK_DRPMON
 #define NETLINK_DRPMON 20
@@ -420,7 +420,7 @@ void display_help()
        printf("exit\t\t\t\t - Quit dropwatch\n");
        printf("help\t\t\t\t - Display this message\n");
        printf("set:\n");
-       printf("\talertlimit <number>\t - caputre only this many alert packets\n");
+       printf("\talertlimit <number>\t - capture only this many alert packets\n");
        printf("start\t\t\t\t - start capture\n");
        printf("stop\t\t\t\t - stop capture\n");
 }
@@ -599,7 +599,7 @@ int main (int argc, char **argv)
 
 
        /*
-        * Initalize our lookup library
+        * Initialize our lookup library
         */
        init_lookup(meth);