summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2023-03-22 09:45:26 +0100
committerAndreas Schneider <asn@cryptomilk.org>2023-03-24 07:57:37 +0000
commitd964700a19b7fa032ead7f64c7c5bb3cd2532500 (patch)
tree92b9db702d3c5289a8ce1ac4d53b84d53217edcb /ctdb
parent8ccd915587f40febed56445bc37ca4185d254bcc (diff)
downloadsamba-d964700a19b7fa032ead7f64c7c5bb3cd2532500.tar.gz
ctdb:utils: Fix code spelling
Best reviewed with: `git show --word-diff` Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Martin Schwenke <mschwenke@ddn.com> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Mar 24 07:57:37 UTC 2023 on atb-devel-224
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/utils/scsi_io/scsi_io.c6
-rw-r--r--ctdb/utils/tdb/tdb_mutex_check.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/utils/scsi_io/scsi_io.c b/ctdb/utils/scsi_io/scsi_io.c
index fff7b9ddea9..1d771de7c02 100644
--- a/ctdb/utils/scsi_io/scsi_io.c
+++ b/ctdb/utils/scsi_io/scsi_io.c
@@ -18,9 +18,9 @@
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-/* very incomplete and needs to be enhanced with noice command line options
+/* Very incomplete and needs to be enhanced with nice command line options
to drive it.
- we need access to an array that supports the PERSISTENT RESERVATION cdb's
+ We need access to an array that supports the PERSISTENT RESERVATION cdb's
before we can proceed
*/
/* scsi bugs:
@@ -206,7 +206,7 @@ void print_sense_data(unsigned char *sense, int sense_len)
ascq=sense[13];
printf("additional sense code qualifier:0x%02x\n", ascq);
- printf("field replacable unit code:0x%02x\n", sense[14]);
+ printf("field replaceable unit code:0x%02x\n", sense[14]);
if((asc==0x20)&&(ascq==0x00))
printf("INVALID COMMAND OPERATION CODE\n");
diff --git a/ctdb/utils/tdb/tdb_mutex_check.c b/ctdb/utils/tdb/tdb_mutex_check.c
index 4da0c40d41b..440bd48e3fa 100644
--- a/ctdb/utils/tdb/tdb_mutex_check.c
+++ b/ctdb/utils/tdb/tdb_mutex_check.c
@@ -139,7 +139,7 @@ int main(int argc, char **argv)
}
if (tdb->mutexes == NULL) {
- printf("Mutexes are not mmaped\n");
+ printf("Mutexes are not mmapped\n");
exit(1);
}