Commit 1c7b4932 authored by dpgilbert's avatar dpgilbert
Browse files

some spelling fixes with the help of the codespell utility

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5397 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent a28a9b8f
$Id$
2022-07-16 Douglas Gilbert <dgilbert@interlog.com>
some spelling fixes with the help of the codespell utility
2022-06-24 Douglas Gilbert <dgilbert@interlog.com>
drivedb.h:
......
......@@ -481,7 +481,7 @@ int linux_ata_device::ata_command_interface(smart_command_set command, int selec
* the SCSI_IOCTL_SEND_COMMAND ioctl is still present but deprecated sending
* a warning to the log the first time (after power up) it is used. The SG_IO
* Version 3 interface is the most widely used (circa lk 5.17 in 2022) and is
* available on the primary block devive name (e.g. /dev/sdc) for all SCSI
* available on the primary block device name (e.g. /dev/sdc) for all SCSI
* disks (and tapes) including all USB attached storage and all ATA/SATA
* storage. */
......@@ -869,7 +869,7 @@ bool linux_aacraid_device::open()
char dev_name[128];
snprintf(dev_name, sizeof(dev_name), "/dev/aac%d", aHost);
//Initial open of dev name to check if it exsists
//Initial open of dev name to check if it exists
int afd = ::open(dev_name,O_RDWR);
if(afd < 0 && errno == ENOENT) {
......
......@@ -596,7 +596,7 @@ static int sg_scsi_normalize_sense(const unsigned char * sensep, int sb_len,
namespace sat {
/// Cypress USB Brigde support.
/// Cypress USB Bridge support.
class usbcypress_device
: public tunnelled_device<
......
......@@ -259,7 +259,7 @@ static struct scsi_opcode_name opcode_name_arr[] = {
{REPORT_LUNS, false, 0, "report luns"}, /* 0xa0 */
{SAT_ATA_PASSTHROUGH_12, false, 0, "ata pass-through(12)"}, /* 0xa1 */
{MAINTENANCE_IN_12, true, MI_REP_SUP_OPCODES,
"report suported operation codes"}, /* 0xa3,0xc */
"report supported operation codes"}, /* 0xa3,0xc */
{READ_DEFECT_12, false, 0, "read defect list(12)"}, /* 0xb7 */
};
......
......@@ -394,7 +394,7 @@ void syserror(const char *message){
const char *errormessage=strerror(errno);
// Check that caller has handed a sensible string, and provide
// appropriate output. See perrror(3) man page to understand better.
// appropriate output. See perror(3) man page to understand better.
if (message && *message)
pout("%s: %s\n",message, errormessage);
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment