summaryrefslogtreecommitdiff
path: root/extras/volume_id/vol_id.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 /extras/volume_id/vol_id.c
parentc2666405031cfda5720ddb9ecd88c1b476babc2a (diff)
replace_chars: replace spaces in node name
Diffstat (limited to 'extras/volume_id/vol_id.c')
-rw-r--r--extras/volume_id/vol_id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/vol_id.c b/extras/volume_id/vol_id.c
index cb1d455891..53b4cfff0b 100644
--- a/extras/volume_id/vol_id.c
+++ b/extras/volume_id/vol_id.c
@@ -274,9 +274,9 @@ int main(int argc, char *argv[])
}
set_str(label_safe, label, sizeof(label_safe));
- replace_untrusted_chars(label_safe);
+ replace_chars(label_safe, ALLOWED_CHARS_INPUT);
set_str(uuid_safe, uuid, sizeof(uuid_safe));
- replace_untrusted_chars(uuid_safe);
+ replace_chars(uuid_safe, ALLOWED_CHARS_INPUT);
switch (print) {
case PRINT_EXPORT: