diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-08-28 23:16:56 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-08-28 23:16:56 +0200 |
commit | e79952c59854e6d5fab638262498d8395acd33ff (patch) | |
tree | 315ff94d0be39e187576e51928184adf5c8c7f96 | |
parent | b2c6818dc35f7b149bba7bf963d1a3afb8daa867 (diff) |
vol_id: ID_LABEL_SAFE will no longer contain fancy characters
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
-rw-r--r-- | extras/volume_id/vol_id.c | 1 |
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: |