chiark / gitweb /
vol_id: ID_LABEL_SAFE will no longer contain fancy characters
authorKay Sievers <kay.sievers@suse.de>
Sun, 28 Aug 2005 21:16:56 +0000 (23:16 +0200)
committerKay Sievers <kay.sievers@suse.de>
Sun, 28 Aug 2005 21:16:56 +0000 (23:16 +0200)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
extras/volume_id/vol_id.c

index fe0b3a0..3c75bda 100644 (file)
@@ -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: