X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udevinfo.c;h=cda229244d9b59aadaea86d55fca32d098271016;hp=f36f240f0a710971723a453b927d4ae9f4ae568d;hb=d727cb90753179dd0a26911f679c668216a026ed;hpb=019d6669076f52994cca199fbbae6eefbb96aeb8 diff --git a/udevinfo.c b/udevinfo.c index f36f240f0..cda229244 100644 --- a/udevinfo.c +++ b/udevinfo.c @@ -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); } }