summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-05-17 20:01:54 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-05-17 20:01:54 +0200
commit2f2c4fa442f33d7eaee02eda016d6149b9aa0be6 (patch)
treea40732c948ff2aba27d4cb0478917fddf92dd64a /udevinfo.c
parentc2666405031cfda5720ddb9ecd88c1b476babc2a (diff)
replace_chars: replace spaces in node name
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevinfo.c b/udevinfo.c
index f36f240f0a..cda229244d 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);
}
}