]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb:utils: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Wed, 22 Mar 2023 08:45:26 +0000 (09:45 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 24 Mar 2023 07:57:37 +0000 (07:57 +0000)
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

ctdb/utils/scsi_io/scsi_io.c
ctdb/utils/tdb/tdb_mutex_check.c

index fff7b9ddea9a39d0eec8f48e458d9abdbe819d3c..1d771de7c020a4387b0209e7cab38cff6ce5ea6d 100644 (file)
@@ -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");
index 4da0c40d41b65253555632398006f29fe05528a6..440bd48e3fa06b069a8f40ff19db740af7b14268 100644 (file)
@@ -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);
        }