diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-03-17 01:56:02 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-03-17 01:56:02 +0100 |
commit | 8a37a3915f3431eb1613026a3ed72012d4f3b05d (patch) | |
tree | 276578955c117a4e81308e5668d8d25dd384c2fe /udev_utils_string.c | |
parent | 0d5be398ffd2f47e0b97f33ca2fd96319ee16c9d (diff) |
add ',' to trusted chars
SGI needs it for some compatibility device names from irix,
xvm volumes use "volname,subvolname" as the default device node.
Diffstat (limited to 'udev_utils_string.c')
-rw-r--r-- | udev_utils_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_utils_string.c b/udev_utils_string.c index 36ef8bef7e..5aebfed523 100644 --- a/udev_utils_string.c +++ b/udev_utils_string.c @@ -241,7 +241,7 @@ int replace_untrusted_chars(char *str) if ((str[i] >= '0' && str[i] <= '9') || (str[i] >= 'A' && str[i] <= 'Z') || (str[i] >= 'a' && str[i] <= 'z') || - strchr(" #$%+-./:=?@_", str[i])) { + strchr(" #$%+-./:=?@_,", str[i])) { i++; continue; } |