diff options
author | brucec <brucec@FreeBSD.org> | 2010-11-09 10:59:09 +0000 |
---|---|---|
committer | brucec <brucec@FreeBSD.org> | 2010-11-09 10:59:09 +0000 |
commit | 696c4e1f9bb4cd204d25faf22eb312c82fe3ad48 (patch) | |
tree | de27851d14573db38e387b4520440178ecc95fa9 /sys/dev/ata | |
parent | 95d0fe5a467ecc88abd03b0dc9f03c79ac39bc2a (diff) | |
download | FreeBSD-src-696c4e1f9bb4cd204d25faf22eb312c82fe3ad48.zip FreeBSD-src-696c4e1f9bb4cd204d25faf22eb312c82fe3ad48.tar.gz |
Fix typos.
PR: bin/148894
Submitted by: olgeni
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-disk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index 67e092e..85b6a54 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -188,13 +188,13 @@ ad_detach(device_t dev) free(children, M_TEMP); } - /* detroy disk from the system so we dont get any further requests */ + /* destroy disk from the system so we don't get any further requests */ disk_destroy(adp->disk); - /* fail requests on the queue and any thats "in flight" for this device */ + /* fail requests on the queue and any that's "in flight" for this device */ ata_fail_requests(dev); - /* dont leave anything behind */ + /* don't leave anything behind */ device_set_ivars(dev, NULL); free(adp, M_AD); return 0; @@ -536,7 +536,7 @@ ad_describe(device_t dev) struct ad_softc *adp = device_get_ivars(dev); u_int8_t *marker, vendor[64], product[64]; - /* try to seperate the ATA model string into vendor and model parts */ + /* try to separate the ATA model string into vendor and model parts */ if ((marker = index(atadev->param.model, ' ')) || (marker = index(atadev->param.model, '-'))) { int len = (marker - atadev->param.model); |