acct: constify the name arg to acct_on
authorJeff Layton <jlayton@redhat.com>
Wed, 10 Oct 2012 19:25:27 +0000 (15:25 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Oct 2012 04:32:03 +0000 (00:32 -0400)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/acct.c

index 6cd7529..5be0101 100644 (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;