diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-05-17 20:01:54 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-05-17 20:01:54 +0200 |
commit | 2f2c4fa442f33d7eaee02eda016d6149b9aa0be6 (patch) | |
tree | a40732c948ff2aba27d4cb0478917fddf92dd64a /extras/volume_id | |
parent | c2666405031cfda5720ddb9ecd88c1b476babc2a (diff) |
replace_chars: replace spaces in node name
Diffstat (limited to 'extras/volume_id')
-rw-r--r-- | extras/volume_id/vol_id.c | 4 |
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: |