summaryrefslogtreecommitdiff
path: root/extras/volume_id/vol_id.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-28 23:16:56 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-28 23:16:56 +0200
commite79952c59854e6d5fab638262498d8395acd33ff (patch)
tree315ff94d0be39e187576e51928184adf5c8c7f96 /extras/volume_id/vol_id.c
parentb2c6818dc35f7b149bba7bf963d1a3afb8daa867 (diff)
vol_id: ID_LABEL_SAFE will no longer contain fancy characters
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'extras/volume_id/vol_id.c')
-rw-r--r--extras/volume_id/vol_id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/volume_id/vol_id.c b/extras/volume_id/vol_id.c
index fe0b3a0ed0..3c75bdaa2f 100644
--- a/extras/volume_id/vol_id.c
+++ b/extras/volume_id/vol_id.c
@@ -156,6 +156,7 @@ int main(int argc, char *argv[])
print:
set_str(name, vid->label, sizeof(vid->label));
+ replace_untrusted_chars(name);
switch (print) {
case PRINT_EXPORT: