mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
uuid: Report invalid character.
This commit is contained in:
parent
5bc8c713e2
commit
90ad817a43
@ -140,7 +140,7 @@ int id_valid(struct id *id)
|
|||||||
|
|
||||||
for (i = 0; i < ID_LEN; i++)
|
for (i = 0; i < ID_LEN; i++)
|
||||||
if (!_inverse_c[id->uuid[i]]) {
|
if (!_inverse_c[id->uuid[i]]) {
|
||||||
log_error("UUID contains invalid character");
|
log_error("UUID contains invalid character '%c'", id->uuid[i]);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user