aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-05-12 18:37:08 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-05-12 18:37:08 +0000
commit404cd7cc68c42c49076623e3ec13bb1f42f74ec7 (patch)
treef164f678be7a236aeb87874e1fa6890b37c2c6b3 /testing
parent3e056f675f51f14a5209efe1b491ba897e7873ce (diff)
downloadsg3_utils-404cd7cc68c42c49076623e3ec13bb1f42f74ec7.tar.gz
sg_lib: document internal json interface in include/sg_pr2serr.h; codespell fixes
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@952 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing')
-rw-r--r--testing/sg_scat_gath.cpp2
-rw-r--r--testing/sg_take_snap.c2
-rw-r--r--testing/sgh_dd.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/testing/sg_scat_gath.cpp b/testing/sg_scat_gath.cpp
index e9aa633d..56752718 100644
--- a/testing/sg_scat_gath.cpp
+++ b/testing/sg_scat_gath.cpp
@@ -347,7 +347,7 @@ err_out:
* is non-NULL). Assumed decimal (and may have suffix multipliers) when
* def_hex==false; if a number is prefixed by '0x', '0X' or contains trailing
* 'h' or 'H' that denotes a hex number. When def_hex==true all numbers are
- * assumed to be hex (ignored '0x' prefixes and 'h' suffixes) and multiplers
+ * assumed to be hex (ignored '0x' prefixes and 'h' suffixes) and multipliers
* are not permitted. Heap allocates an array just big enough to hold all
* elements if the file is countable. Pipes and stdin are not considered
* countable. In the non-countable case an array of MAX_FIXED_SGL_ELEMS
diff --git a/testing/sg_take_snap.c b/testing/sg_take_snap.c
index 852d3be6..c714a409 100644
--- a/testing/sg_take_snap.c
+++ b/testing/sg_take_snap.c
@@ -133,7 +133,7 @@ int main(int argc, char * argv[])
dev_arr[next_vacant_dev_idx] = argv[optind];
++next_vacant_dev_idx;
} else if (next_vacant_dev_idx == SG_TAKE_MAX_DEVS) {
- pr2serr("Maximim of %d DEVICEs on command line\n",
+ pr2serr("Maximum of %d DEVICEs on command line\n",
next_vacant_dev_idx);
usage();
return SG_LIB_SYNTAX_ERROR;
diff --git a/testing/sgh_dd.cpp b/testing/sgh_dd.cpp
index 2c1f2433..90577f88 100644
--- a/testing/sgh_dd.cpp
+++ b/testing/sgh_dd.cpp
@@ -674,7 +674,7 @@ page4:
"example,\nit has been observed that both the read- and write- "
"sides of a request\nshare show they are in 'active' state "
"which should not be possible.\nIt occurs because the read-"
- "sie probably jumped out of active state and\nthe write-side "
+ "side probably jumped out of active state and\nthe write-side "
"request entered it while some other nodes were being "
"printed.\n\n");
pr2serr("Busy state:\n"