Temporarily move taskq+util to libzpool until that directory is broken in to lib...
[zfs.git] / zfs / lib / libzcommon / zfs_namecheck.c
index eb46e38..a9d109b 100644 (file)
  * CDDL HEADER END
  */
 /*
- * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident  "@(#)zfs_namecheck.c    1.10    07/10/26 SMI"
+#pragma ident  "%Z%%M% %I%     %E% SMI"
 
 /*
  * Common name validation routines for ZFS.  These routines are shared by the
@@ -54,7 +54,7 @@ valid_char(char c)
        return ((c >= 'a' && c <= 'z') ||
            (c >= 'A' && c <= 'Z') ||
            (c >= '0' && c <= '9') ||
-           c == '-' || c == '_' || c == '.' || c == ':');
+           c == '-' || c == '_' || c == '.' || c == ':' || c == ' ');
 }
 
 /*