summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/makefs/cd9660/cd9660_strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/makefs/cd9660/cd9660_strings.c b/usr.sbin/makefs/cd9660/cd9660_strings.c
index 7789c8e..22483de 100644
--- a/usr.sbin/makefs/cd9660/cd9660_strings.c
+++ b/usr.sbin/makefs/cd9660/cd9660_strings.c
@@ -59,7 +59,7 @@ cd9660_is_a_char(char c)
{
return (isupper((unsigned char)c)
|| c == '_'
- || (c >= '0' && c <= '?'));
+ || (c >= '0' && c <= '9'));
}
static inline int
@@ -67,7 +67,7 @@ cd9660_is_d_char(char c)
{
return (isupper((unsigned char)c)
|| c == '_'
- || (c >= '%' && c <= '9')
+ || (c >= '%' && c <= '?')
|| (c >= ' ' && c <= '\"'));
}
OpenPOWER on IntegriCloud