mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Adjust wording
This commit is contained in:
parent
243a5ba90f
commit
ea44a7d759
@ -329,7 +329,7 @@ static int _is_whitelisted_char(char c)
|
|||||||
int check_multiple_mangled_name_allowed(dm_string_mangling_t mode, const char *name)
|
int check_multiple_mangled_name_allowed(dm_string_mangling_t mode, const char *name)
|
||||||
{
|
{
|
||||||
if (mode == DM_STRING_MANGLING_AUTO && strstr(name, "\\x5cx")) {
|
if (mode == DM_STRING_MANGLING_AUTO && strstr(name, "\\x5cx")) {
|
||||||
log_error("The name \"%s\" seems to be multiple mangled. "
|
log_error("The name \"%s\" seems to be mangled more than once. "
|
||||||
"This is not allowed in auto mode.", name);
|
"This is not allowed in auto mode.", name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -2945,7 +2945,7 @@ static int _mangle(CMD_ARGS)
|
|||||||
: DEFAULT_DM_NAME_MANGLING;
|
: DEFAULT_DM_NAME_MANGLING;
|
||||||
|
|
||||||
if (target_format == DM_STRING_MANGLING_AUTO && strstr(name, "\\x5cx")) {
|
if (target_format == DM_STRING_MANGLING_AUTO && strstr(name, "\\x5cx")) {
|
||||||
log_error("The name \"%s\" seems to be multiple mangled. "
|
log_error("The name \"%s\" seems to be mangled more than once. "
|
||||||
"Manual intervention required to rename the device.", name);
|
"Manual intervention required to rename the device.", name);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user