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:
parent
85e0636623
commit
915dd18361
@ -2165,7 +2165,7 @@ int setup_device(struct cmd_context *cmd, const char *devname)
|
||||
}
|
||||
|
||||
if (!S_ISBLK(buf.st_mode)) {
|
||||
log_error("Invaild device type %s.", devname);
|
||||
log_error("Invalid device type %s.", devname);
|
||||
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)) {
|
||||
log_error("Invaild device type %s.", devname);
|
||||
log_error("Invalid device type %s.", devname);
|
||||
return_NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user