chiark / gitweb /
vol_id: export encoded strings
[elogind.git] / udevinfo.c
index f36f240f0a710971723a453b927d4ae9f4ae568d..cda229244d9b59aadaea86d55fca32d098271016 100644 (file)
@@ -93,7 +93,7 @@ static void print_all_attributes(const char *devpath, const char *key)
                                continue;
                        }
 
-                       replace_untrusted_chars(value);
+                       replace_chars(value, ALLOWED_CHARS_INPUT);
                        printf("    %s{%s}==\"%s\"\n", key, dent->d_name, value);
                }
        }