aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2021-11-30 09:39:42 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-12-03 15:52:44 +0000
commitd4c648f7793592bfef895a5de70316090ec65115 (patch)
treef7d55f57cdfec0c4be18389dd742b97421cb6249
parenta79a0d9cdd53858cea6f1b6bb4b1d923d2e7ab3e (diff)
downloadsrc-d4c648f7793592bfef895a5de70316090ec65115.tar.gz
src-d4c648f7793592bfef895a5de70316090ec65115.zip
xen(4): Fix two typos in source code comments
- s/segement/segment/ (cherry picked from commit e3080a9cca1b94ded20b42b653b97e49306d94d2)
-rw-r--r--sys/dev/xen/blkfront/block.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/xen/blkfront/block.h b/sys/dev/xen/blkfront/block.h
index b48139659b51..5ec43ff71bc8 100644
--- a/sys/dev/xen/blkfront/block.h
+++ b/sys/dev/xen/blkfront/block.h
@@ -40,7 +40,7 @@
* \note This calculation assumes that all but the first and last segments
* of the I/O are fully utilized.
*
- * \note We reserve a segement from the maximum supported by the transport to
+ * \note We reserve a segment from the maximum supported by the transport to
* guarantee we can handle an unaligned transfer without the need to
* use a bounce buffer.
*/
@@ -54,7 +54,7 @@
* \note This calculation assumes that all but the first and last segments
* of the I/O are fully utilized.
*
- * \note We reserve a segement to guarantee we can handle an unaligned
+ * \note We reserve a segment to guarantee we can handle an unaligned
* transfer without the need to use a bounce buffer.
*/
#define XBD_SIZE_TO_SEGS(size) \