From 2f2c4fa442f33d7eaee02eda016d6149b9aa0be6 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 17 May 2007 20:01:54 +0200 Subject: replace_chars: replace spaces in node name --- extras/volume_id/vol_id.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extras/volume_id') 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: -- cgit v1.2.3-54-g00ecf