acct: constify the name arg to acct_on

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Jeff Layton 2012-10-10 15:25:27 -04:00 committed by Al Viro
parent a608ca21f5
commit cfd4da1755
1 changed files with 1 additions and 1 deletions

View File

@ -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;