From: Jeff Layton Date: Wed, 10 Oct 2012 19:25:27 +0000 (-0400) Subject: acct: constify the name arg to acct_on X-Git-Tag: next-20121012~53^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5f06bd0881baf5d4083c813f4d8be512b74a0604;p=karo-tx-linux.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;