From e3080a9cca1b94ded20b42b653b97e49306d94d2 Mon Sep 17 00:00:00 2001 From: Gordon Bergling Date: Tue, 30 Nov 2021 10:39:42 +0100 Subject: [PATCH] xen(4): Fix two typos in source code comments - s/segement/segment/ MFC after: 3 days --- sys/dev/xen/blkfront/block.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/xen/blkfront/block.h b/sys/dev/xen/blkfront/block.h index b48139659b5..5ec43ff71bc 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) \