From: Jeff Layton Date: Wed, 10 Oct 2012 19:25:27 +0000 (-0400) Subject: acct: constify the name arg to acct_on X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cfd4da175599938f21a81cdd80df02fa4151dcba;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git acct: constify the name arg to acct_on Signed-off-by: Jeff Layton Signed-off-by: Al Viro --- diff --git a/kernel/acct.c b/kernel/acct.c index 6cd7529c9e6a..5be01017d30f 100644 --- a/kernel/acct.c +++ b/kernel/acct.c @@ -193,7 +193,7 @@ static void acct_file_reopen(struct bsd_acct_struct *acct, struct file *file, } } -static int acct_on(char *name) +static int acct_on(const char *name) { struct file *file; struct vfsmount *mnt;