summaryrefslogtreecommitdiffstats
path: root/src/util/profile/prof_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/profile/prof_parse.c')
-rw-r--r--src/util/profile/prof_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/profile/prof_parse.c b/src/util/profile/prof_parse.c
index 1ed448443..742db0555 100644
--- a/src/util/profile/prof_parse.c
+++ b/src/util/profile/prof_parse.c
@@ -219,8 +219,8 @@ static errcode_t parse_include_file(char *filename, struct parse_state *state)
return retval;
}
-/* Return non-zero if filename contains only alphanumeric characters and
- * underscores. */
+/* Return non-zero if filename contains only alphanumeric characters, dashes,
+ * and underscores. */
static int valid_name(const char *filename)
{
const char *p;