summaryrefslogtreecommitdiffstats
path: root/sys/dev/md
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2005-12-28 15:18:18 +0000
committermaxim <maxim@FreeBSD.org>2005-12-28 15:18:18 +0000
commitdf025adb58b435e0bcae1a5ed3ad1d3e16b7ad68 (patch)
tree17d2954a5d0c7c39f0d0f63278e73731b7108036 /sys/dev/md
parenta8f22162f695d8f0ce22f99b3ee4b1aea5b892df (diff)
downloadFreeBSD-src-df025adb58b435e0bcae1a5ed3ad1d3e16b7ad68.zip
FreeBSD-src-df025adb58b435e0bcae1a5ed3ad1d3e16b7ad68.tar.gz
o Fix typos in the comments.
Submitted by: Wojciech A. Koszek
Diffstat (limited to 'sys/dev/md')
-rw-r--r--sys/dev/md/md.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index d811f93..82e97f0 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -228,7 +228,7 @@ destroy_indir(struct md_s *sc, struct indir *ip)
}
/*
- * This function does the math and alloctes the top level "indir" structure
+ * This function does the math and allocates the top level "indir" structure
* for a device of "size" sectors.
*/
@@ -534,7 +534,7 @@ mdstart_swap(struct md_s *sc, struct bio *bp)
p = bp->bio_data;
/*
- * offs is the ofset at whih to start operating on the
+ * offs is the offset at which to start operating on the
* next (ie, first) page. lastp is the last page on
* which we're going to operate. lastend is the ending
* position within that last page (ie, PAGE_SIZE if
OpenPOWER on IntegriCloud