diff options
Diffstat (limited to 'security/tomoyo/common.c')
-rw-r--r-- | security/tomoyo/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/common.c b/security/tomoyo/common.c index 98e3639db990..3f94011c6411 100644 --- a/security/tomoyo/common.c +++ b/security/tomoyo/common.c | |||
@@ -407,7 +407,7 @@ static int tomoyo_update_manager_entry(const char *manager, | |||
407 | return -EINVAL; | 407 | return -EINVAL; |
408 | e.is_domain = true; | 408 | e.is_domain = true; |
409 | } else { | 409 | } else { |
410 | if (!tomoyo_is_correct_path(manager, 1, -1, -1)) | 410 | if (!tomoyo_is_correct_path(manager)) |
411 | return -EINVAL; | 411 | return -EINVAL; |
412 | } | 412 | } |
413 | e.manager = tomoyo_get_name(manager); | 413 | e.manager = tomoyo_get_name(manager); |