mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
vol_id: ID_LABEL_SAFE will no longer contain fancy characters
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
This commit is contained in:
parent
b2c6818dc3
commit
e79952c598
@ -156,6 +156,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
print:
|
print:
|
||||||
set_str(name, vid->label, sizeof(vid->label));
|
set_str(name, vid->label, sizeof(vid->label));
|
||||||
|
replace_untrusted_chars(name);
|
||||||
|
|
||||||
switch (print) {
|
switch (print) {
|
||||||
case PRINT_EXPORT:
|
case PRINT_EXPORT:
|
||||||
|
Loading…
Reference in New Issue
Block a user