summaryrefslogtreecommitdiff
path: root/extras/volume_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id')
-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: