]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Thu, 11 Oct 2012 15:43:40 +0000 (11:43 -0400)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/acct.c

index 6cd7529c9e6a31a7702c77f38c45289f72d907b8..5be01017d30febe251e8fe5a6906414e7ba5568d 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;