cryptsetup-generator: use proper constant for uuid alphabet

This commit is contained in:
Ondrej Kozina 2020-07-21 10:12:27 +02:00
parent ea223d3d3e
commit 008fd4f9d4

View file

@ -570,7 +570,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat
if (proc_cmdline_value_missing(key, value))
return 0;
n = strspn(value, LETTERS DIGITS "-");
n = strspn(value, ALPHANUMERICAL "-");
if (value[n] != '=') {
if (free_and_strdup(&arg_default_keyfile, value) < 0)
return log_oom();