diff options
Diffstat (limited to 'security/tomoyo')
-rw-r--r-- | security/tomoyo/tomoyo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index c7764bb747aa..75c998700190 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c | |||
@@ -429,7 +429,7 @@ static int tomoyo_sb_umount(struct vfsmount *mnt, int flags) | |||
429 | * | 429 | * |
430 | * Returns 0 on success, negative value otherwise. | 430 | * Returns 0 on success, negative value otherwise. |
431 | */ | 431 | */ |
432 | static int tomoyo_sb_pivotroot(struct path *old_path, struct path *new_path) | 432 | static int tomoyo_sb_pivotroot(const struct path *old_path, const struct path *new_path) |
433 | { | 433 | { |
434 | return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path); | 434 | return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path); |
435 | } | 435 | } |