1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

typo: fix typos

Typo and indent.
This commit is contained in:
Zdenek Kabelac 2024-05-28 22:55:27 +02:00
parent 85e0636623
commit 915dd18361
2 changed files with 6 additions and 6 deletions

View File

@ -2165,7 +2165,7 @@ int setup_device(struct cmd_context *cmd, const char *devname)
} }
if (!S_ISBLK(buf.st_mode)) { if (!S_ISBLK(buf.st_mode)) {
log_error("Invaild device type %s.", devname); log_error("Invalid device type %s.", devname);
return 0; return 0;
} }
@ -2408,7 +2408,7 @@ struct device *setup_dev_in_dev_cache(struct cmd_context *cmd, dev_t devno, cons
} }
if (!S_ISBLK(buf.st_mode)) { if (!S_ISBLK(buf.st_mode)) {
log_error("Invaild device type %s.", devname); log_error("Invalid device type %s.", devname);
return_NULL; return_NULL;
} }

View File

@ -1925,8 +1925,8 @@ int lvcreate_and_attach_writecache_cmd(struct cmd_context *cmd, int argc, char *
}; };
struct lvcreate_cmdline_params lcp = { 0 }; struct lvcreate_cmdline_params lcp = { 0 };
struct processing_params pp = { struct processing_params pp = {
.lp = &lp, .lp = &lp,
.lcp = &lcp, .lcp = &lcp,
}; };
int ret; int ret;
if (!_lvcreate_params(cmd, argc, argv, &lp, &lcp)) { if (!_lvcreate_params(cmd, argc, argv, &lp, &lcp)) {
@ -1997,8 +1997,8 @@ int lvcreate_and_attach_cache_cmd(struct cmd_context *cmd, int argc, char **argv
}; };
struct lvcreate_cmdline_params lcp = { 0 }; struct lvcreate_cmdline_params lcp = { 0 };
struct processing_params pp = { struct processing_params pp = {
.lp = &lp, .lp = &lp,
.lcp = &lcp, .lcp = &lcp,
}; };
int ret; int ret;