From: Andreas Schneider Date: Wed, 22 Mar 2023 08:45:26 +0000 (+0100) Subject: ctdb:utils: Fix code spelling X-Git-Tag: talloc-2.4.1~1276 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d964700a19b7fa032ead7f64c7c5bb3cd2532500;p=thirdparty%2Fsamba.git ctdb:utils: Fix code spelling Best reviewed with: `git show --word-diff` Signed-off-by: Andreas Schneider Reviewed-by: Martin Schwenke Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Fri Mar 24 07:57:37 UTC 2023 on atb-devel-224 --- 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 . */ -/* 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); }