Description: Spelling fixes
Author: Christian Kastner <ckk@debian.org>
Author: Tobias Frost <tobi@debian.org>
Bug: https://sourceforge.net/p/avarice/patches/31/
Last-Update: 2015-10-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/jtag2misc.cc
+++ b/src/jtag2misc.cc
@@ -56,7 +56,7 @@
     }
     catch (jtag_exception& e)
     {
-        fprintf(stderr, "set paramater command failed: %s\n",
+        fprintf(stderr, "set parameter command failed: %s\n",
                 e.what());
         throw;
     }
@@ -86,12 +86,12 @@
     }
     catch (jtag_exception& e)
     {
-        fprintf(stderr, "get paramater command failed: %s\n",
+        fprintf(stderr, "get parameter command failed: %s\n",
                 e.what());
         throw;
     }
     if (resp[0] != RSP_PARAMETER || respSize <= 1)
-        throw jtag_exception("unexpected response to get paramater command");
+        throw jtag_exception("unexpected response to get paremater command");
 }
 
 
--- a/src/jtag3misc.cc
+++ b/src/jtag3misc.cc
@@ -55,7 +55,7 @@
   }
   catch (jtag_exception& e)
   {
-    fprintf(stderr, "set paramater command failed: %s\n",
+    fprintf(stderr, "set parameter command failed: %s\n",
 	    e.what());
     throw;
   }
@@ -86,16 +86,16 @@
   }
   catch (jtag_exception& e)
   {
-    fprintf(stderr, "get paramater command failed: %s\n",
+    fprintf(stderr, "get parameter command failed: %s\n",
 	    e.what());
     throw;
   }
   if (resp[1] != RSP3_DATA || respsize < 3 + length)
   {
-    debugOut("unexpected response to get paramater command: 0x%02x\n",
+    debugOut("unexpected response to get parameter command: 0x%02x\n",
 	     resp[1]);
     delete [] resp;
-    throw jtag_exception("unexpected response to get paramater command");
+    throw jtag_exception("unexpected response to get parameter command");
   }
 }
 
