From ccce60bdebf47a73c06de1dee77e181afbcaf538 Mon Sep 17 00:00:00 2001 From: mav Date: Tue, 19 Apr 2011 10:57:40 +0000 Subject: Fix some English grammar. --- sys/dev/ahci/ahci.c | 8 ++++---- sys/dev/ahci/ahci.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/dev/ahci') diff --git a/sys/dev/ahci/ahci.c b/sys/dev/ahci/ahci.c index c7a6977..b4d0652 100644 --- a/sys/dev/ahci/ahci.c +++ b/sys/dev/ahci/ahci.c @@ -2132,16 +2132,16 @@ ahci_issue_recovery(device_t dev) struct ccb_scsiio *csio; int i; - /* Find some holden command. */ + /* Find some held command. */ for (i = 0; i < ch->numslots; i++) { if (ch->hold[i]) break; } ccb = xpt_alloc_ccb_nowait(); if (ccb == NULL) { - device_printf(dev, "Unable allocate recovery command\n"); + device_printf(dev, "Unable to allocate recovery command\n"); completeall: - /* We can't do anything -- complete holden commands. */ + /* We can't do anything -- complete held commands. */ for (i = 0; i < ch->numslots; i++) { if (ch->hold[i] == NULL) continue; @@ -2166,7 +2166,7 @@ completeall: if (ataio->data_ptr == NULL) { xpt_free_ccb(ccb); device_printf(dev, - "Unable allocate memory for READ LOG command\n"); + "Unable to allocate memory for READ LOG command\n"); goto completeall; } ataio->dxfer_len = 512; diff --git a/sys/dev/ahci/ahci.h b/sys/dev/ahci/ahci.h index 4e62cbf..cd5356a 100644 --- a/sys/dev/ahci/ahci.h +++ b/sys/dev/ahci/ahci.h @@ -408,7 +408,7 @@ struct ahci_channel { int numrslotspd[16];/* Number of running slots per dev */ int numtslots; /* Number of tagged slots */ int numtslotspd[16];/* Number of tagged slots per dev */ - int numhslots; /* Number of holden slots */ + int numhslots; /* Number of held slots */ int recoverycmd; /* Our READ LOG active */ int fatalerr; /* Fatal error happend */ int lastslot; /* Last used slot */ -- cgit v1.1