aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/number_group.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo/number_group.c')
-rw-r--r--security/tomoyo/number_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/number_group.c b/security/tomoyo/number_group.c
index 7266a7462c45..8779309c5b44 100644
--- a/security/tomoyo/number_group.c
+++ b/security/tomoyo/number_group.c
@@ -24,7 +24,7 @@ struct tomoyo_number_group *tomoyo_get_number_group(const char *group_name)
24 struct tomoyo_number_group *group = NULL; 24 struct tomoyo_number_group *group = NULL;
25 const struct tomoyo_path_info *saved_group_name; 25 const struct tomoyo_path_info *saved_group_name;
26 int error = -ENOMEM; 26 int error = -ENOMEM;
27 if (!tomoyo_is_correct_word(group_name)) 27 if (!tomoyo_correct_word(group_name))
28 return NULL; 28 return NULL;
29 saved_group_name = tomoyo_get_name(group_name); 29 saved_group_name = tomoyo_get_name(group_name);
30 if (!saved_group_name) 30 if (!saved_group_name)