1
1
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:
Kay Sievers 2005-08-28 23:16:56 +02:00
parent b2c6818dc3
commit e79952c598

View File

@ -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: