summaryrefslogtreecommitdiffstats
path: root/lib/loopdev.c
diff options
context:
space:
mode:
authorSebastian Rasmussen2016-05-29 23:11:53 +0200
committerSebastian Rasmussen2016-05-31 23:40:21 +0200
commit9e93004171eb0c4c288051b2d7bb37f97a0ae430 (patch)
tree369493906bb3c1c6f2554609c737ada0230f4b2e /lib/loopdev.c
parentdocs: Fix various typos (diff)
downloadkernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.gz
kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.xz
kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.zip
misc: Fix various typos
Fix various typos in error messages, warnings, debug strings, comments and names of static functions. Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
Diffstat (limited to 'lib/loopdev.c')
-rw-r--r--lib/loopdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/loopdev.c b/lib/loopdev.c
index 26c183e8d..73bbf8ba4 100644
--- a/lib/loopdev.c
+++ b/lib/loopdev.c
@@ -857,7 +857,7 @@ int loopcxt_get_backing_inode(struct loopdev_cxt *lc, ino_t *ino)
*
* Notes:
* - kernels < 3.2 support partitioned loop devices and PT scanning
- * only if max_part= module paremeter is non-zero
+ * only if max_part= module parameter is non-zero
*
* - kernels >= 3.2 always support partitioned loop devices
*
@@ -889,7 +889,7 @@ int loopmod_supports_partscan(void)
* @lc: context
*
* Returns: 1 if the partscan flags is set *or* (for old kernels) partitions
- * scannig is enabled for all loop devices.
+ * scanning is enabled for all loop devices.
*/
int loopcxt_is_partscan(struct loopdev_cxt *lc)
{
@@ -1168,7 +1168,7 @@ static int loopcxt_check_size(struct loopdev_cxt *lc, int file_fd)
if (expected_size != size) {
DBG(CXT, ul_debugobj(lc, "warning: loopdev and expected "
- "size dismatch (%ju/%ju)",
+ "size mismatch (%ju/%ju)",
size, expected_size));
if (loopcxt_set_capacity(lc)) {